I want use bitmap fonts,my mothed is :
1) create a font file MyFont.font, the content in the file is:
<?xml version="1.0" ?>
<Font Name="MyFont" Filename="TaharezLook.imageset" Type="Static" NativeHorzRes="800" NativeVertRes="600" AutoScaled="true">
<Mapping Codepoint="65" Image="ClientBrush" />
</Font>
2) create the bitmap font:
CEGUI::FontManager::getSingleton().createFont("MyFont.font");
when I run it ,there is a message for error:
FontManager::createFont - The value for the Font:Type attribute 'Static' is unknown.
how to fix it ?
how to use bitmap fonts?
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Mmmm "Static" should work according to the .xsd file. I don't have a running Cegui installation at hands right now, so i can't test anything..
Apparently, dynamic fonts (which use 'Dynamic') do work on your setup?
Apparently, dynamic fonts (which use 'Dynamic') do work on your setup?
Check out my released snake game using Cegui!
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Who is online
Users browsing this forum: No registered users and 22 guests