Hi!
I'm a beginner with CEGUI and not very well in English.
I've problem about using font. I want to change font(default font is Tahoma-12) but I don't know what is *.font and where is it come from. Please answer me, thank you.
Where is file *.font come from??
Moderators: CEGUI MVP, CEGUI Team
- lindquist
- CEGUI Team (Retired)
- Posts: 770
- Joined: Mon Jan 24, 2005 21:20
- Location: Copenhagen, Denmark
Re: Where is file *.font come from??
The .font files are XML files specifying a CEGUI font.
They are located in the data directory '../datafiles/fonts/' by default.
If you look inside the file with a text editor you'll see that the format is very simple.
For example if you want to change the .ttf file used to generate the font, you just change the 'Filename' attribute of the font tag to point to the new font.
If you want a complete description of the font XML format, then take a look at 'cegui_mk2/XMLRefSchema/Readme.txt' in the source distribution.
They are located in the data directory '../datafiles/fonts/' by default.
If you look inside the file with a text editor you'll see that the format is very simple.
For example if you want to change the .ttf file used to generate the font, you just change the 'Filename' attribute of the font tag to point to the new font.
If you want a complete description of the font XML format, then take a look at 'cegui_mk2/XMLRefSchema/Readme.txt' in the source distribution.
Re: Where is file *.font come from??
thx for your answer 
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 11 guests
