From a83094a5b8d9e764da8eda645ce927f525f41c0a Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Tue, 8 Nov 2016 05:09:00 +0000 Subject: kpathsea: Add ".OTF" as a suffix of OpenType fonts git-svn-id: svn://tug.org/texlive/trunk@42460 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/ChangeLog | 4 ++++ Build/source/texk/kpathsea/tex-file.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'Build') 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 + + * tex-file.c: Add ".OTF" as a suffix of OpenType fonts. + 2016-11-02 Karl Berry * 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; -- cgit v1.2.3