From f6f2ff44213ddb6e07f1213fb6d3bce27bf10126 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Fri, 1 Aug 2014 03:10:42 +0000 Subject: fix a bug in type0.c git-svn-id: svn://tug.org/texlive/trunk@34790 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipdfm-x/ChangeLog | 4 ++++ Build/source/texk/dvipdfm-x/type0.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'Build') 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 + + * type0.c: Fix a bug in Type0Font_clean (Type0Font *font). + 2014-07-30 Khaled Hosny * 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); -- cgit v1.2.3