diff options
Diffstat (limited to 'Build/source/texk/dvipdfm-x/tfm.c')
-rw-r--r-- | Build/source/texk/dvipdfm-x/tfm.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/Build/source/texk/dvipdfm-x/tfm.c b/Build/source/texk/dvipdfm-x/tfm.c index 37f406698a9..5336e8d59e5 100644 --- a/Build/source/texk/dvipdfm-x/tfm.c +++ b/Build/source/texk/dvipdfm-x/tfm.c @@ -32,6 +32,7 @@ #include "error.h" #include "numbers.h" +#include "dpxconf.h" #include "dpxutil.h" #include "tfm.h" @@ -41,9 +42,6 @@ #define FWBASE ((double) (1<<20)) -static int verbose = 0; - - #ifndef WITHOUT_ASCII_PTEX /* * ID is 9 for vertical JFM file. @@ -328,13 +326,6 @@ fms_need (unsigned n) } } -void -tfm_set_verbose (void) -{ - verbose++; -} - - static int fread_fwords (fixword *words, int32_t nmemb, FILE *fp) { @@ -921,12 +912,12 @@ tfm_open (const char *tfm_name, int must_exist) ERROR("Could not open specified TFM/OFM file \"%s\".", tfm_name); } - if (verbose) { + if (dpx_conf.verbose_level > 0) { if (format == TFM_FORMAT) MESG("(TFM:%s", tfm_name); else if (format == OFM_FORMAT) MESG("(OFM:%s", tfm_name); - if (verbose > 1) + if (dpx_conf.verbose_level > 1) MESG("[%s]", file_name); } @@ -956,7 +947,7 @@ tfm_open (const char *tfm_name, int must_exist) fms[numfms].tex_name = NEW(strlen(tfm_name)+1, char); strcpy(fms[numfms].tex_name, tfm_name); - if (verbose) + if (dpx_conf.verbose_level > 0) MESG(")"); return numfms++; |