From a08ef3d9c56058190190dc91712b7d336f8eaea6 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Sat, 9 Jan 2021 01:10:34 +0000 Subject: Fix a bug that vertical metrics are not written (S. Hirata) git-svn-id: svn://tug.org/texlive/trunk@57357 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipdfm-x/cidtype0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/dvipdfm-x/cidtype0.c') diff --git a/Build/source/texk/dvipdfm-x/cidtype0.c b/Build/source/texk/dvipdfm-x/cidtype0.c index a1eb757a799..9e68d00d7da 100644 --- a/Build/source/texk/dvipdfm-x/cidtype0.c +++ b/Build/source/texk/dvipdfm-x/cidtype0.c @@ -1,6 +1,6 @@ /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. - Copyright (C) 2002-2020 by Jin-Hwan Cho and Shunsaku Hirata, + Copyright (C) 2002-2021 by Jin-Hwan Cho and Shunsaku Hirata, the dvipdfmx project team. This program is free software; you can redistribute it and/or modify @@ -599,7 +599,7 @@ CIDFont_type0_dofont (pdf_font *font) pdf_new_name("DW"), pdf_new_number(1000.0)); } else { add_CIDMetrics(sfont, font->resource, CIDToGIDMap, last_cid, - font->cid.usedchars_v ? 1 : 0); + font->cid.need_vmetrics ? 1 : 0); } if (!font->cid.options.embed) { @@ -1430,7 +1430,7 @@ CIDFont_type0_t1cdofont (pdf_font *font) } } add_CIDMetrics(sfont, font->resource, CIDToGIDMap, last_cid, - font->cid.usedchars_v ? 1 : 0); + font->cid.need_vmetrics ? 1 : 0); RELEASE(CIDToGIDMap); } -- cgit v1.2.3