What Flag should I use?

On Thu, Jun 19, 2014 at 4:25 PM, Werner LEMBERG <[email protected]> wrote:

>
> > 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
>



-- 
Michael Ivanov
Graphics Software
onlygraphix.com
Tel:+972 54 4962254
_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to