freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FT_Get_Char_Index() returns 0 for char(0x020)


From: Boris Letocha
Subject: RE: FT_Get_Char_Index() returns 0 for char(0x020)
Date: Mon, 16 Oct 2000 07:49:16 +0200

>   3.
>   Change the glyph array upon reading the font, to make sure
>   index 0 is always .notdef
> 
> Or am I missing something? The order of the CharStrings dict 
> is completely
> arbitrary, so why not change it? (simply sort it?)
> 

Just, you are right ...

I already done this in WinFNT driver in which was same problem. (It is
patched in FT2 2 months ago)
I add 1 to all indexes and after substract ...
0 is undefined character.

Boris Letocha



reply via email to

[Prev in Thread] Current Thread [Next in Thread]