Horde3D http://www.horde3d.org/forums/ |
|
Horde and Unicode http://www.horde3d.org/forums/viewtopic.php?f=2&t=341 |
Page 1 of 1 |
Author: | roarflolo [ 20.05.2008, 19:01 ] |
Post subject: | Horde and Unicode |
Horde doesn't compile when I switch to Unicode, lots of string work assumes multi-byte characters. I'd like to use Unicode for all my text and I'd like to link with Freetype for font handling. Any plans for Unicode builds? |
Author: | marciano [ 22.05.2008, 08:52 ] |
Post subject: | Re: Horde and Unicode |
I must admit that I don't have much experience with different character sets. Do you think they are required for Horde? I think things like shader context or resource names don't need to be unicode. And if you want to daw Unicode text you need a new font routine anyway (the current one uses a texture with the 256 characters). |
Author: | DarkAngel [ 22.05.2008, 11:12 ] |
Post subject: | Re: Horde and Unicode |
Yeah, Unicode will probably only be required for the font system. If a better font utility is developed in the future, this should be taken into account ![]() |
Author: | kal [ 22.05.2008, 18:33 ] |
Post subject: | Re: Horde and Unicode |
utf8 encoded text wouldn't need unicode compile param. right? |
Author: | kal [ 22.05.2008, 18:39 ] |
Post subject: | Re: Horde and Unicode |
marciano wrote: I must admit that I don't have much experience with different character sets. Do you think they are required for Horde? I think things like shader context or resource names don't need to be unicode. And if you want to daw Unicode text you need a new font routine anyway (the current one uses a texture with the 256 characters). I will use freetype do you suggest one big texture or multiple textures of fixed size(for example 512x512 textures, so to fit 512 chars you may need two or more textures depending on the font resolution). |
Author: | DarkAngel [ 22.05.2008, 23:31 ] |
Post subject: | Re: Horde and Unicode |
kal wrote: do you suggest one big texture or multiple textures of fixed size(for example 512x512 textures, so to fit 512 chars you may need two or more textures depending on the font resolution). I'm working on a font system on another engine at the moment (I'm contracted; can't share the code ![]() Also, when using my font-generator tool in unicode-mode, it would take up too much memory to render every single unicode character to the textures. So the tool opens a text document, and only generates texture data for characters that appear in that document. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |