freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] truetype metrics resize request question


From: Steven Chu
Subject: Re: [ft-devel] truetype metrics resize request question
Date: Thu, 14 Jul 2011 03:41:17 -0500

For reference if anyone is curious, any pixel size that is not a
multiple of 5 will exhibit the problem.  A couple common ones are 72px
and 96px which should be a 72x72 and 96x96 respectively.  Leading is 0
for Ahem so height should be ascent+descent.

72px
Before
Ascender: 3712 Descender: -960 >> Height: 4672 == 73px
After
Ascender: 3712 Descender: -896 >> Height: 4608 == 72px

96px
Before
Ascender: 4928 Descender: -1280 >> Height: 6208 == 97px
After
Ascender: 4928 Descender: -1216 >> Height: 6144 == 96px


>
>> I've made a patch for the proposed change below.  Please let me know
>> if anything needs to be adjusted.
>
> The patch looks good, thanks.  Just for the record, please give some
> numeric values for your problem with the Ahem font so that I can
> identify and handle potential issues in the future more easily.
>
>
>    Werner
>



reply via email to

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