summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-24 16:21:30 +0000
committerKarl Berry <karl@freefriends.org>2010-09-24 16:21:30 +0000
commitc02517b14854ed403f1cbbf165371920f1a2eb8f (patch)
tree514b2c927e30a9f518db927ca6dd94ddfc61b402 /Build
parent079a761e1720412a5851c625cfe12bf3cf0312b9 (diff)
read both truetype and opentype hiers for both formats
git-svn-id: svn://tug.org/texlive/trunk@19875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog7
-rw-r--r--Build/source/texk/kpathsea/texmf.cnf4
2 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 728601eef65..5c8b00a5a51 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-24 Karl Berry <karl@tug.org>
+
+ * texmf.cnf (TTFONTS): also read opentype//.
+ (OPENTYPEFONTS): also read truetype//.
+ Because common practice is to use .ttf/.ttc for TrueType-flavored
+ OpenType fonts (and .otf only for PostScript-flavored OpenType).
+
2010-09-18 Karl Berry <karl@tug.org>
* texmf.cnf (DVIPDFMXINPUTS): do not include ., so attackers
diff --git a/Build/source/texk/kpathsea/texmf.cnf b/Build/source/texk/kpathsea/texmf.cnf
index 42c6ddde4ed..cfd9c2319e7 100644
--- a/Build/source/texk/kpathsea/texmf.cnf
+++ b/Build/source/texk/kpathsea/texmf.cnf
@@ -345,10 +345,10 @@ T1FONTS = .;$TEXMF/fonts/type1//;$OSFONTDIR//
AFMFONTS = .;$TEXMF/fonts/afm//;$OSFONTDIR//
% TrueType outline fonts.
-TTFONTS = .;$TEXMF/fonts/truetype//;$OSFONTDIR//
+TTFONTS = .;$TEXMF/fonts/{truetype,opentype}//;$OSFONTDIR//
% Opentype outline fonts.
-OPENTYPEFONTS = .;$TEXMF/fonts/opentype//;$OSFONTDIR//
+OPENTYPEFONTS = .;$TEXMF/fonts/{opentype,truetype}//;$OSFONTDIR//
% Type 42 outline fonts.
T42FONTS = .;$TEXMF/fonts/type42//