|
From: | Michael IV |
Subject: | Re: [ft] Outline decompose scaling |
Date: | Thu, 19 Jun 2014 16:31:02 +0300 |
Yes.
> 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 );
> [...]
> 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
[Prev in Thread] | Current Thread | [Next in Thread] |