Moazin,

the `ftview' demo program displays the font in question just fine, so
maybe it makes sense to check this program how it works.  Probably
tomorrow I will check your code – but maybe you are faster than me in
identifying the error :-)

> *What's the problem?*
>
> If I call `FT_Set_Char_Size' in the program, it returns error code
> 0x17 which is `Invalid Pixel Size'.

The ppem value is 109.

> Secondly, `FT_Load_Glyph' returns error code 0x24 which is `Invalid
> Size Handle'. `FT_Load_Glyph' returns the same even if I don't call
> `FT_Set_Char_Size' at all.

This is a consequence of not selecting the right ppem value, I guess.


    Werner
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to