Page 1 of 1

set the input font size ?

Posted: Thu Sep 07, 2006 05:06
by cutenoob
Hi all guys :) :)
I think it's easy to do,,but I'm not find any information available yet...

:roll: :roll:

Re: set the input font size ?

Posted: Thu Sep 07, 2006 07:17
by Xirnohn
cutenoob wrote:Hi all guys :) :)
I think it's easy to do,,but I'm not find any information available yet...

:roll: :roll:


You can define it in the font file.

Code: Select all

<?xml version="1.0" ?>

<Font Name="Comic-8" Filename="comic.ttf" Type="FreeType" Size="8" NativeHorzRes="800" NativeVertRes="600" AutoScaled="false"/>

Re: set the input font size ?

Posted: Thu Sep 07, 2006 09:00
by cutenoob
:D :D It's work now

btw: I want to know how to set 2(or more)kind of Texts size in one widget ? like this --- > I'm cutenoob

I'm using 0.4 now,Did 0.5 support this? (or 0.4 has already did :cry: :cry: )

Posted: Thu Sep 07, 2006 12:53
by lindquist
multiple fonts in one widget can only be done by using multiple TextComponent sections in a looknfeel. CEGUI has no formatting tags etc. This will be addressed in 0.6

Posted: Fri Sep 08, 2006 06:10
by cutenoob
lindquist wrote:multiple fonts in one widget can only be done by using multiple TextComponent sections in a looknfeel. CEGUI has no formatting tags etc. This will be addressed in 0.6


Thanks lindquist :) :)