View previous topic :: View next topic |
Author |
Message |
baxissimo
Joined: 23 Oct 2006 Posts: 241 Location: Tokyo, Japan
|
Posted: Sat Feb 17, 2007 9:34 am Post subject: Fonts! Any chance for a Render(dchar[]) ? |
|
|
Any chance to get a Render(dchar[]) method added to the font interface?
Is there some limitation in Freetype or FTGL that prevents it?
If you're writing some kind of text widget my understanding is that dchar is pretty much what you should be using because utf32 is the only encoding where mystring[i] is guaranteed to be a whole glyph.
So Luigi uses dchars in it's text widgets internally.
It would be nice if these dchar[]'s could be handed off to an FTFont directly for rendering. |
|
Back to top |
|
|
Bradley Smith
Joined: 20 Jun 2006 Posts: 60
|
Posted: Sat Feb 17, 2007 7:55 pm Post subject: |
|
|
I don't know of any limitation in Freetype or FTGL that would prevent supporting dchar strings. It may be as simple as adding code which parallels the Render(char[]) and Render(wchar[]) methods. |
|
Back to top |
|
|
|