* src/autofit/aflatin.c (af_latin_hints_compute_segments): Thinko.
`max_pos' is always larger than `min_pos' so `FT_ABS' is not needed. Reported by Alexei.
This commit is contained in:
parent
86eb43a994
commit
aafff57428
@ -1,3 +1,11 @@
|
||||
2016-07-15 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/autofit/aflatin.c (af_latin_hints_compute_segments): Thinko.
|
||||
|
||||
`max_pos' is always larger than `min_pos' so `FT_ABS' is not needed.
|
||||
|
||||
Reported by Alexei.
|
||||
|
||||
2016-07-16 Nikolaus Waxweiler <madigens@gmail.com>
|
||||
|
||||
* src/truetype/ttinterp.c (Ins_MIRP): Fix copy-and-paste error.
|
||||
|
@ -1538,7 +1538,7 @@
|
||||
|
||||
segment->last = point;
|
||||
segment->pos = (FT_Short)( ( min_pos + max_pos ) >> 1 );
|
||||
segment->delta = (FT_Short)FT_ABS( ( max_pos - min_pos ) >> 1 );
|
||||
segment->delta = (FT_Short)( ( max_pos - min_pos ) >> 1 );
|
||||
|
||||
/* a segment is round if either its first or last point */
|
||||
/* is a control point, and the length of the on points */
|
||||
|
Loading…
Reference in New Issue
Block a user