[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft-devel] major autohinter change
From: |
Werner LEMBERG |
Subject: |
[ft-devel] major autohinter change |
Date: |
Fri, 19 Jul 2013 23:50:18 +0200 (CEST) |
Folks,
I've just committed the following:
[autofit] Fix segment classification for blue zones.
The old code (essentially unchanged since the very beginning)
incorrectly handled this configuration
x -o- x
/ \
/ \
/ \
o o
as flat and this
o o
/ /
x| x|
| |
o---------------o
as round. (`o' and `x' are on and off points, respectively).
This is a major change which should improve the rendering results
enormously for many TrueType fonts, especially in the range approx.
20-40ppem, fixing the appearance of many overshoots.
* src/autofit/aflatin.c (af_latin_metrics_init_blues): Look at the
first and last points of the segment, not the points right before
and after.
Please test this!
Werner
- [ft-devel] major autohinter change,
Werner LEMBERG <=