[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Freetype] Re: Outline vertices
From: |
Braden McDaniel |
Subject: |
[Freetype] Re: Outline vertices |
Date: |
Mon, 25 Nov 2002 22:21:20 -0500 |
User-agent: |
Pan/0.13.1 (It's always funny until somebody immanentizes the eschaton) |
On Sat, 23 Nov 2002 16:57:17 +0100, David Turner wrote:
> Braden McDaniel wrote:
[snip]
>> That's what I suspected. But it looks like I can use
>> FT_FaceRec::units_per_EM to scale things to the range 0..1, which is all
>> I'm after.
>>
> That should work. Keep in mind that font designers can create glyphs that
> extend outside of the EM square. You should use the global bounding box
> instead if you're looking for the ability to constrain all coordinates
> to a range like [0..1]
Hm. I'm not sure of the implications of that. If a font designer decides
that the glyphs should be outside the EM square, perhaps they should spill
out of the "normal" area when I render them ... ?
--
Braden McDaniel e-mail: <address@hidden>
<http://endoframe.com> Jabber: <address@hidden>