[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype
Subject:    Re: [ft] Extract glyph contours using native units
From:       Charles Matthew Chen <charlesmchen () gmail ! com>
Date:       2012-06-01 17:10:36
Message-ID: CACQxx-HzOR0qAdeJdJBvn3G17xKgEnukNMk_s9aMbDvEOLGzBA () mail ! gmail ! com
[Download RAW message or body]

   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
<charlesmchen@gmail.com> wrote:
> Hi,
>
> =A0 I'm trying to extra unscaled glyph contours. =A0For 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.?
>
> =A0 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,
> =A0 Charles

_______________________________________________
Freetype mailing list
Freetype@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic