diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-09-14 03:34:50 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2018-09-14 03:34:50 +0000 |
commit | 00653d612add044de9f941c7b2c562bebe60d1e8 (patch) | |
tree | 46f2e9aa6440270f015d3e9d3d17f4d4ed709691 /Build/source/texk/dvipdfm-x/cidtype0.c | |
parent | fb833e57545c4b4d76e01406904fdfd83f057447 (diff) |
Cleanup. Remove duplicated code. Reorganize global variables. (S. Hirata)
git-svn-id: svn://tug.org/texlive/trunk@48663 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfm-x/cidtype0.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/cidtype0.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Build/source/texk/dvipdfm-x/cidtype0.c b/Build/source/texk/dvipdfm-x/cidtype0.c index c6ddf2c17c1..648cb1757af 100644 --- a/Build/source/texk/dvipdfm-x/cidtype0.c +++ b/Build/source/texk/dvipdfm-x/cidtype0.c @@ -33,6 +33,7 @@ #include "numbers.h" #include "mem.h" #include "error.h" +#include "dpxconf.h" #include "dpxfile.h" @@ -70,16 +71,9 @@ #include "cmap_write.h" #include "fontmap.h" -static int verbose = 0; static int opt_flags = 0; void -CIDFont_type0_set_verbose (void) -{ - verbose++; -} - -void CIDFont_type0_set_flags (int flags) { opt_flags = flags; @@ -820,7 +814,7 @@ CIDFont_type0_dofont (CIDFont *font) CIDFontInfo_close(&info); - if (verbose > 1) + if (dpx_conf.verbose_level > 1) MESG("[%u/%u glyphs][%ld bytes]", num_glyphs, cs_count, destlen); CIDFont_type0_add_CIDSet(font, used_chars, last_cid); @@ -1264,7 +1258,7 @@ CIDFont_type0_t1cdofont (CIDFont *font) CIDFontInfo_close(&info); - if (verbose > 1) + if (dpx_conf.verbose_level > 1) MESG("[%u glyphs][%ld bytes]", num_glyphs, destlen); CIDFont_type0_add_CIDSet(font, used_chars, last_cid); |