FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fonts! Any chance for a Render(dchar[]) ?

 
Post new topic   Reply to topic     Forum Index -> Schooner
View previous topic :: View next topic  
Author Message
baxissimo



Joined: 23 Oct 2006
Posts: 241
Location: Tokyo, Japan

PostPosted: Sat Feb 17, 2007 9:34 am    Post subject: Fonts! Any chance for a Render(dchar[]) ? Reply with quote

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
View user's profile Send private message
Bradley Smith



Joined: 20 Jun 2006
Posts: 60

PostPosted: Sat Feb 17, 2007 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Schooner All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group