diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-12 17:27:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-12 17:27:16 +0000 |
commit | 6b1fe74698e3848e9a0747ace95c4f7ed64d009d (patch) | |
tree | 05b90aa7b379a1d4fdf7ffe297d24eda23230b85 /Build/source/texk/kpathsea/tex-file.c | |
parent | 0f3796d4167346cf66cb3462fc18b95d33a17c9f (diff) |
set suffix_search_only for sfd, otf, and lig; show binmode in debug output
git-svn-id: svn://tug.org/texlive/trunk@13057 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 */ |