Hi,

On Fri, 2006-10-27 at 22:38 +0200, Dirk E. Wagner wrote:

> If I replace the Unicode by the Glyph Index, it works:
> 
> unsigned int character = 223;
> surface->DrawGlyph(surface, character, 0, 0, (DFBSurfaceTextFlags)0);
> 
> DFFA_NOCHARMAP is never used, and all encodings are UTF-8.
> Why I can't use UTF-8 codes with DrawGlyph, what's wrong?

Nothing is wrong. DrawGlyph takes the Unicode character index, not an
UTF-8 encoded string. That's the API. If you need something different,
it shouldn't be difficult to write a small wrapper function.


Sven



_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to