[tex-live] TEXFONTS for Type 1's, and more debugging

Karl Berry karl at freefriends.org
Mon Aug 23 00:50:15 CEST 2004

Hi Olaf,

    TEXFONTS is a weird variable.  Note that it isn't even defined in the
    "standard" texmf.cnf.

It's for users to use.  It doesn't need to be defined in texmf.cnf,
since there are all the file-format-specific variables these days.
In fact, TEXFONTS predates all the other font variables.  It should be
included in TYPE1_ENVS, really.  Do you see a problem?

    > 2) In kpse_find_file, add a debug statement reporting the type and
    >    path_source members of the struct.

    For ease of implementation can you supply a patch or at least
    (pseudo-)code to illustrate exactly what you have in mind?

Sure, here's the basic idea of what I was needing.  I'm happy to check
in the change(s) to TL, but of course didn't want it to get lost when
you sync from your private source.


--- /backup/archive/tug/home/karl/src/Build/source.development/TeX/texk/kpathsea/tex-file.c	2004-05-29 03:48:53.000000000 -0700
+++ /backup/archive/tug/home/karl/src/Build/source.development/TeX/texk/kpathsea/new	2004-08-22 15:50:00.000000000 -0700
@@ -739,4 +739,7 @@
     kpse_init_format (format);
+  DEBUGF3 ("kpse_find_file: searching for %s of type %s (from %s)\n",
+           name, FMT_INFO.type, FMT_INFO.path_source);
   /* Does NAME already end in a possible suffix?  */
   name_len = strlen (name);

More information about the tex-live mailing list