summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-11-08 05:09:00 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-11-08 05:09:00 +0000
commita83094a5b8d9e764da8eda645ce927f525f41c0a (patch)
tree32334d0a912f80c295a8263021ac04fba69c76ba
parente3c927fdf4cbb1712a5a9c9dae15e38c1ae6d868 (diff)
kpathsea: Add ".OTF" as a suffix of OpenType fonts
git-svn-id: svn://tug.org/texlive/trunk@42460 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/kpathsea/ChangeLog4
-rw-r--r--Build/source/texk/kpathsea/tex-file.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index dc328b8a5bc..8f9955c2efc 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-08 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * tex-file.c: Add ".OTF" as a suffix of OpenType fonts.
+
2016-11-02 Karl Berry <karl@tug.org>
* mktexdir: try a silent mkdir before a non-silent mkdir,
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index 0b008ac443e..3c2d254d497 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -771,7 +771,8 @@ kpathsea_init_format_return_varlist(kpathsea kpse,kpse_file_format_type format)
break;
case kpse_opentype_format:
INIT_FORMAT ("opentype fonts", DEFAULT_OPENTYPEFONTS, OPENTYPE_ENVS);
- SUFFIXES (".otf");
+#define OPENTYPE_SUFFIXES ".otf", ".OTF"
+ SUFFIXES (OPENTYPE_SUFFIXES);
FMT_INFO.suffix_search_only = true;
FMT_INFO.binmode = true;
break;