freetype
[Top][All Lists]
Advanced

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

Re: [ft] Extract glyph contours using native units


From: Charles Matthew Chen
Subject: Re: [ft] Extract glyph contours using native units
Date: Fri, 1 Jun 2012 14:10:36 -0300

   Sorry, answered my own question.  I need to pass FT_LOAD_NO_SCALE
to FT_Load_Glyph().

Thanks,
   Charles


On Fri, Jun 1, 2012 at 2:06 PM, Charles Matthew Chen
<address@hidden> wrote:
> Hi,
>
>   I'm trying to extra unscaled glyph contours.  For example, if the
> units_per_em is 1024 and the raw values in the .otf file is 512,512,
> how do I configure freetype to return (512, 512) and not values scaled
> to a certain pixel size, ppem, etc.?
>
>   I'm assuming the answer is to call FT_Request_Size(), but I can't
> determine the correct values for the FT_Size_Request passed to that
> function.
>
> Thanks,
>   Charles



reply via email to

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