[tex-live] pdftex 1.40.4

Akira Kakuto kakuto at fsci.fuk.kindai.ac.jp
Mon Jul 23 03:20:58 CEST 2007


>     texfonts.map is missed by the "pdftex -recorder" option.
> 
> I think we need to add
> 
> if (kpse_record_input)
>   kpse_record_input (*filenames);
> 
> to the loop in read_all_maps in kpathsea/fontmap.c, but I can't test it
> right now.  If one of you has a chance to do that, that would be great.

I think it will be better to add the kpse_record_input()
when the file is actually opened (not tested):

--- fontmap.c.orig	Mon Jul 23 10:01:12 2007
+++ fontmap.c	Mon Jul 23 10:07:34 2007
@@ -28,6 +28,7 @@
 #include <kpathsea/line.h>
 #include <kpathsea/pathsearch.h>
 #include <kpathsea/str-list.h>
+#include <kpathsea/recorder.h>
 #include <kpathsea/tex-file.h>
 
 /* We have one and only one fontmap, so may as well make it static
@@ -81,7 +82,10 @@
   char *orig_l;
   unsigned map_lineno = 0;
   FILE *f = xfopen (map_filename, FOPEN_R_MODE);
-  
+
+  if (kpse_record_input)
+    kpse_record_input (map_filename);
+
   while ((orig_l = read_line (f)) != NULL) {
     string filename;
     string l = orig_l;

Best,
Akira


More information about the tex-live mailing list