* src/truetype/ttgload.c (load_truetype_glyph): Init `unrounded'.
This fixes linear advance width values for spacing glyphs. Bug introduced 2019-05-09.
This commit is contained in:
parent
535b687e58
commit
ac335cd586
@ -1,3 +1,10 @@
|
||||
2019-05-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/truetype/ttgload.c (load_truetype_glyph): Init `unrounded'.
|
||||
|
||||
This fixes linear advance width values for spacing glyphs. Bug
|
||||
introduced 2019-05-09.
|
||||
|
||||
2019-05-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[truetype] Avoid code duplication.
|
||||
|
@ -1739,7 +1739,7 @@
|
||||
FT_Outline outline;
|
||||
|
||||
/* unrounded values */
|
||||
FT_Vector unrounded[4];
|
||||
FT_Vector unrounded[4] = { {0, 0}, {0, 0}, {0, 0}, {0, 0} };
|
||||
|
||||
|
||||
points[0].x = loader->pp1.x;
|
||||
|
Loading…
Reference in New Issue
Block a user