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
>

_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to