Hi
i want add new font to CEGUI Editor. its not a english font. but if i know how can i add a new english font to CEGUI Editor, then i can add my font.
Pre Thanks for any help
Ahmadi
How can i add a new font to CEGUI Editor.?
Moderators: CEGUI MVP, CEGUI Team
- tgraupmann
- Quite a regular
- Posts: 78
- Joined: Thu Aug 18, 2005 00:47
- Contact:
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi,
adding an new font is possible indeed. You can save your new font definition (xml) into the directory which contains your fonts. Then is becomes available to set as a window's font, or even as a default font through the "View->Set default font" menu item. (After restarting the editor).
Make sure that you specify the glyph information inside the definition file for non-English characters.
Good luck!
adding an new font is possible indeed. You can save your new font definition (xml) into the directory which contains your fonts. Then is becomes available to set as a window's font, or even as a default font through the "View->Set default font" menu item. (After restarting the editor).
Make sure that you specify the glyph information inside the definition file for non-English characters.
Good luck!
scriptkid wrote:Hi,
adding an new font is possible indeed. You can save your new font definition (xml) into the directory which contains your fonts. Then is becomes available to set as a window's font, or even as a default font through the "View->Set default font" menu item. (After restarting the editor).
Make sure that you specify the glyph information inside the definition file for non-English characters.
Good luck!
Ok, now i have my font in editor, but editor only use 0..127 character of my font, and i can not use 128..255 character in editor.
my font have 0..255 character that i only can use first half of it in editor.
No setting founded for character limitation.
Also i can not find any font setting that can i change character limitation with it .
Maybe limitation is in CELayoutEditor.exe?
Maybe limitation is in CELayoutEditor.exe?
- tgraupmann
- Quite a regular
- Posts: 78
- Joined: Thu Aug 18, 2005 00:47
- Contact:
scriptkid wrote:Hi,
adding an new font is possible indeed. You can save your new font definition (xml) into the directory which contains your fonts. Then is becomes available to set as a window's font, or even as a default font through the "View->Set default font" menu item. (After restarting the editor).
Make sure that you specify the glyph information inside the definition file for non-English characters.
Good luck!
Where do you get a font definition xml file from? And the glyphs. What if you just have a TTF file?
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi,
font definition files are the ones you find in "datafiles/fonts". You need to define a font in such a file to be able to create them non-hardcoded.
About the font settings: please search the forum for "glyphset". This results in topics about "glypsets", "glyphranges", ASCII vs. Utf8* and so on. I'm not a font / unicode guru myself, so i hope this helps.
Good luck both of you!
font definition files are the ones you find in "datafiles/fonts". You need to define a font in such a file to be able to create them non-hardcoded.
About the font settings: please search the forum for "glyphset". This results in topics about "glypsets", "glyphranges", ASCII vs. Utf8* and so on. I'm not a font / unicode guru myself, so i hope this helps.
Good luck both of you!
- tgraupmann
- Quite a regular
- Posts: 78
- Joined: Thu Aug 18, 2005 00:47
- Contact:
Here's a nice utility that might be useful:
http://www.cegui.org.uk/phpBB2/viewtopic.php?t=1538
http://www.cegui.org.uk/phpBB2/viewtopic.php?t=1538
- tgraupmann
- Quite a regular
- Posts: 78
- Joined: Thu Aug 18, 2005 00:47
- Contact:
More documentaiton:
http://www.cegui.org.uk/wiki/index.php/Font_files
http://www.cegui.org.uk/wiki/index.php/Font_files
Return to “Modifications / Integrations / Customisations”
Who is online
Users browsing this forum: No registered users and 4 guests