Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 84eb65b

Browse files
committed
Fix rendering of composite glyphs in Type 3 conversion (particularly
as evidenced in the Eunjin.ttf Korean font) Thanks Jae-Joon Lee for finding this! svn path=/branches/v0_91_maint/; revision=5283
1 parent d5579d9 commit 84eb65b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2008-05-28 Fix rendering of composite glyphs in Type 3 conversion
2+
(particularly as evidenced in the Eunjin.ttf Korean font)
3+
Thanks Jae-Joon Lee for finding this!
4+
15
2008-05-21 Fix segfault in TkAgg backend - MGD
26

37
2008-05-21 Fix a "local variable unreferenced" bug in plotfile - MM

ttconv/pprdrv_tt2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ void GlyphToType3::do_composite(TTStreamWriter& stream, struct TTFONT *font, BYT
531531
}
532532
else /* The tt spec. does not clearly indicate */
533533
{ /* whether these values are signed or not. */
534-
arg1 = *(glyph++);
535-
arg2 = *(glyph++);
534+
arg1 = *(signed char *)(glyph++);
535+
arg2 = *(signed char *)(glyph++);
536536
}
537537

538538
if(flags & WE_HAVE_A_SCALE)

0 commit comments

Comments
 (0)