set the input font size ?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

cutenoob
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Jul 11, 2006 02:28
Location: Shanghai

set the input font size ?

Postby cutenoob » Thu Sep 07, 2006 05:06

Hi all guys :) :)
I think it's easy to do,,but I'm not find any information available yet...

:roll: :roll:

Xirnohn
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Thu Jun 22, 2006 13:32
Location: Hungary, Debrecen
Contact:

Re: set the input font size ?

Postby Xirnohn » Thu Sep 07, 2006 07:17

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"/>

cutenoob
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Jul 11, 2006 02:28
Location: Shanghai

Re: set the input font size ?

Postby cutenoob » Thu Sep 07, 2006 09:00

: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: )

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Thu Sep 07, 2006 12:53

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

cutenoob
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Tue Jul 11, 2006 02:28
Location: Shanghai

Postby cutenoob » Fri Sep 08, 2006 06:10

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 :) :)


Return to “Help”

Who is online

Users browsing this forum: No registered users and 29 guests