diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2014-08-01 03:10:42 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2014-08-01 03:10:42 +0000 |
commit | f6f2ff44213ddb6e07f1213fb6d3bce27bf10126 (patch) | |
tree | 9d70b96a7083b18e4b482ac6a5ac406422c8fdf2 /Build/source | |
parent | 0cbaa8805da2dfd3788b60ef3e499c4b2ba653e7 (diff) |
fix a bug in type0.c
git-svn-id: svn://tug.org/texlive/trunk@34790 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/dvipdfm-x/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfm-x/type0.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog index 149e6394074..2b905930a27 100644 --- a/Build/source/texk/dvipdfm-x/ChangeLog +++ b/Build/source/texk/dvipdfm-x/ChangeLog @@ -1,3 +1,7 @@ +2014-08-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * type0.c: Fix a bug in Type0Font_clean (Type0Font *font). + 2014-07-30 Khaled Hosny <khaledhosny@eglug.org> * dvi.c, dvicodes.h: Support TeX-XeT's begin_reflect and end_reclect diff --git a/Build/source/texk/dvipdfm-x/type0.c b/Build/source/texk/dvipdfm-x/type0.c index 1356b7271c1..0a768982cac 100644 --- a/Build/source/texk/dvipdfm-x/type0.c +++ b/Build/source/texk/dvipdfm-x/type0.c @@ -133,7 +133,7 @@ Type0Font_clean (Type0Font *font) ERROR("%s: FontDescriptor unexpected for Type0 font.", TYPE0FONT_DEBUG_STR); if (!(font->flags & FLAG_USED_CHARS_SHARED) && font->used_chars) RELEASE(font->used_chars); - if (font->used_glyphs) + if (!(font->flags & FLAG_USED_CHARS_SHARED) && font->used_glyphs) RELEASE(font->used_glyphs); if (font->encoding) RELEASE(font->encoding); |