summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/tex-file.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index a1db4b1fd87..fcbe0dfcd4d 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-12 Karl Berry <karl@tug.org>
+
+ * tex-file.c (kpathsea_init_format): set suffix_search_only
+ for sfd, otf, and lig. Output binmode value for debugging.
+
2009-05-11 Karl Berry <karl@tug.org>
* Makefile.am (paths.h): depend on stamp-paths, instead of
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index b36159e7141..7b81c7a0532 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -715,10 +715,12 @@ kpathsea_init_format (kpathsea kpse, kpse_file_format_type format)
case kpse_sfd_format:
INIT_FORMAT ("subfont definition files", DEFAULT_SFDFONTS, SFD_ENVS);
SUFFIXES (".sfd");
+ FMT_INFO.suffix_search_only = true;
break;
case kpse_opentype_format:
INIT_FORMAT ("opentype fonts", DEFAULT_OPENTYPEFONTS, OPENTYPE_ENVS);
SUFFIXES (".otf");
+ FMT_INFO.suffix_search_only = true;
FMT_INFO.binmode = true;
break;
case kpse_pdftex_config_format:
@@ -727,6 +729,7 @@ kpathsea_init_format (kpathsea kpse, kpse_file_format_type format)
case kpse_lig_format:
INIT_FORMAT ("lig files", DEFAULT_LIGFONTS, LIG_ENVS);
SUFFIXES (".lig");
+ FMT_INFO.suffix_search_only = true;
break;
case kpse_texmfscripts_format:
INIT_FORMAT ("texmfscripts", DEFAULT_TEXMFSCRIPTS, TEXMFSCRIPTS_ENVS);
@@ -788,7 +791,6 @@ kpathsea_init_format (kpathsea kpse, kpse_file_format_type format)
fputs (" (none)\n", stderr);
}
DEBUGF1 (" search only with suffix = %d\n",FMT_INFO.suffix_search_only);
- DEBUGF1 (" numeric format value = %d\n", format);
DEBUGF1 (" runtime generation program = %s\n", MAYBE (program));
DEBUGF (" runtime generation command =");
if (FMT_INFO.argv) {
@@ -802,6 +804,8 @@ kpathsea_init_format (kpathsea kpse, kpse_file_format_type format)
}
DEBUGF1 (" program enabled = %d\n", FMT_INFO.program_enabled_p);
DEBUGF1 (" program enable level = %d\n", FMT_INFO.program_enable_level);
+ DEBUGF1 (" open files in binary mode = %d\n", FMT_INFO.binmode);
+ DEBUGF1 (" numeric format value = %d\n", format);
}
#endif /* KPSE_DEBUG */