Skip to content

Commit 3061f58

Browse files
committed
Merged revisions 5276-5283 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v0_91_maint ........ r5283 | mdboom | 2008-05-28 09:31:39 -0400 (Wed, 28 May 2008) | 4 lines 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=/trunk/matplotlib/; revision=5284
1 parent 662581f commit 3061f58

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG

+4
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-27 Rewrote the cm.ScalarMappable callback infrastructure to
26
use cbook.CallbackRegistry rather than custom callback
37
handling. Amy users of add_observer/notify of the

ttconv/pprdrv_tt2.cpp

+2-2
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)