> So you say to get an outline by font size of 20px for DPI = 72 I
> have to do this:
> 
>    err = FT_Set_Char_Size( faceHandle,64 * 20, 64 * 20, 72, 72 );

Yes.

> Here is my full code :
>
>   [...]
>   err = FT_Load_Glyph(faceHandle,
>                       glyphIndex,
>                       FT_LOAD_NO_BITMAP | FT_LOAD_NO_SCALE);
                                            ^^^^^^^^^^^^^^^^

Here's the error!  Using this flag makes FreeType return everything in
font units, completely ignoring any scaling done by
`FT_Set_Char_Size'.


    Werner

_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to