diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/tt_aux.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/tt_aux.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Build/source/texk/dvipdfm-x/tt_aux.c b/Build/source/texk/dvipdfm-x/tt_aux.c index 3d28b3ace07..61cf6e2d36f 100644 --- a/Build/source/texk/dvipdfm-x/tt_aux.c +++ b/Build/source/texk/dvipdfm-x/tt_aux.c @@ -1,6 +1,6 @@ /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. - Copyright (C) 2002-2016 by Jin-Hwan Cho and Shunsaku Hirata, + Copyright (C) 2002-2018 by Jin-Hwan Cho and Shunsaku Hirata, the dvipdfmx project team. This program is free software; you can redistribute it and/or modify @@ -26,6 +26,7 @@ #include "mem.h" #include "error.h" #include "numbers.h" +#include "dpxconf.h" #include "pdfobj.h" @@ -34,13 +35,6 @@ #include "tt_post.h" #include "tt_aux.h" -static int verbose = 0; - -void tt_aux_set_verbose(void) -{ - ++verbose; -} - ULONG ttc_read_offset (sfnt *sfont, int ttc_idx) { ULONG offset = 0, num_dirs = 0; @@ -181,17 +175,17 @@ pdf_obj *tt_get_fontdesc (sfnt *sfont, int *embed, int stemv, int type, const ch /* the least restrictive license granted takes precedence. */ *embed = 1; } else if (os2->fsType & 0x0004) { - if (verbose > 0) + if (dpx_conf.verbose_level > 0) WARN("Font \"%s\" permits \"Preview & Print\" embedding only **\n", fontname); *embed = 1; } else { if (always_embed) { - if (verbose > 0) + if (dpx_conf.verbose_level > 0) WARN("Font \"%s\" may be subject to embedding restrictions **\n", fontname); *embed = 1; } else { - if (verbose > 0) + if (dpx_conf.verbose_level > 0) WARN("Embedding of font \"%s\" disabled due to license restrictions", fontname); *embed = 0; } |