Denis Oliver Kropp wrote:
> Phil Endecott wrote:
>> Dear All,
>> 
>> It seems that I have to pass glyph indices, not characters, when I call 
>> IDirectFBFont_GetKerning().
>> 
>> Assuming that this is intended, how should I convert from a character 
>> to a glyph index?  I can see that this is done by the internal function 
>> dfb_font_decode_character(), but I don't see how to access that from an 
>> application.
>> 
>> There is probably something simple that I am missing....
>
> GetKerning() should get characters, not indices. Maybe it's broken?

That's what I was wondering; DrawString seems to pass indices when it 
calls GetKerning, and I can't see any conversion happening on the path 
from the "outside world" to GetKerning.  But I may be missing 
something.  Can you investigate?

Thanks,

Phil.





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

Reply via email to