summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-03-09 17:21:12 +0000
committerKarl Berry <karl@freefriends.org>2007-03-09 17:21:12 +0000
commitfc7befdb34ff13330f8952b7dc4745e2923ba334 (patch)
tree4a50014ff60bb49acae785aad4205175cae12c24 /Build
parent3def665d27d896cf3583f4e0a40aba70463c6ed6 (diff)
extension simplifications from akira
git-svn-id: svn://tug.org/texlive/trunk@4027 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/tex-file.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 4ac308b7491..d62962b0ccd 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2007-03-09 Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>
+
+ * tex-file.c (kpse_init_format): reduce to just .fmt;
+ and allow both .t42 and .T42.
+
2007-02-26 Karl Berry <karl@tug.org>
* bugs.texi (Logging): mention pdftex -recorder and strace et al.
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index 6fabb311b9d..8e57d440fa1 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -177,6 +177,8 @@ kpse_maketex_option P2C(const_string, fmtname, boolean, value)
fmt = kpse_tex_format;
} else if (FILESTRCASEEQ (fmtname, "tfm")) {
fmt = kpse_tfm_format;
+ } else if (FILESTRCASEEQ (fmtname, "fmt")) {
+ fmt = kpse_fmt_format;
} else if (FILESTRCASEEQ (fmtname, "ofm")) {
fmt = kpse_ofm_format;
} else if (FILESTRCASEEQ (fmtname, "ocp")) {
@@ -471,8 +473,6 @@ kpse_init_format P1C(kpse_file_format_type, format)
init_maketex (format, "mktexfmt", NULL);
INIT_FORMAT ("fmt", DEFAULT_TEXFORMATS, FMT_ENVS);
SUFFIXES (".fmt");
-#define FMT_SUFFIXES ".efmt",".efm",".ofmt",".ofm",".oft",".eofmt",".eoft",".eof",".pfmt",".pfm",".epfmt",".epf",".xpfmt",".xpf",".afmt",".afm"
- ALT_SUFFIXES (FMT_SUFFIXES);
FMT_INFO.binmode = true;
break;
case kpse_fontmap_format:
@@ -608,6 +608,8 @@ kpse_init_format P1C(kpse_file_format_type, format)
break;
case kpse_type42_format:
INIT_FORMAT ("type42 fonts", DEFAULT_T42FONTS, TYPE42_ENVS);
+#define TYPE42_SUFFIXES ".t42", ".T42"
+ SUFFIXES (TYPE42_SUFFIXES);
FMT_INFO.binmode = true;
break;
case kpse_web2c_format: