From 84a443c4363a509b6140d655e5577daf9243abab Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 27 Apr 2013 12:11:34 +0200 Subject: Blacklisting lingoes.ttf (segfaults) --- otfl-blacklist.cnf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/otfl-blacklist.cnf b/otfl-blacklist.cnf index f77de5b..4e1b98f 100644 --- a/otfl-blacklist.cnf +++ b/otfl-blacklist.cnf @@ -1,5 +1,7 @@ % Tackes ages to load -LastResort.ttf % a MacOSX font, but also available for free from unicode.org +LastResort.ttf % a MacOSX font, but also available for free from unicode.org +% Segfaults with LuaTeX 0.76 +lingoes.ttf % Mac OS X TTC fonts, this list need to be filtered out /Library/Fonts/AmericanTypewriter.ttc -- cgit v1.2.3 From 0f008053eef3f0c5268b580d2b919242b74480d2 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sat, 27 Apr 2013 12:11:51 +0200 Subject: Updating NEWS --- NEWS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NEWS b/NEWS index 5137c2c..47272e1 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,9 @@ Change History -------------- +2013/04/27, luaotfload v1.3: + * blacklisting lingoes.ttf (segfaults) + 2013/04/25, luaotfload v1.29: * Reverting the unified resolver, as the database was rebuilt too often which made the compilation longer. This will come back improved -- cgit v1.2.3 From bd7c7ae433719e1a7f2f992c247b77d810896d75 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sun, 28 Apr 2013 17:23:18 +0200 Subject: Removing blacklisting of ttc files This was a bug in LuaTeX < 0.65, see http://tracker.luatex.org/view.php?id=397 --- otfl-blacklist.cnf | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/otfl-blacklist.cnf b/otfl-blacklist.cnf index 4e1b98f..f207c49 100644 --- a/otfl-blacklist.cnf +++ b/otfl-blacklist.cnf @@ -3,22 +3,3 @@ LastResort.ttf % a MacOSX font, but also available for free from unicode.org % Segfaults with LuaTeX 0.76 lingoes.ttf -% Mac OS X TTC fonts, this list need to be filtered out -/Library/Fonts/AmericanTypewriter.ttc -/Library/Fonts/Baskerville.ttc -/Library/Fonts/Chalkboard.ttc -/Library/Fonts/Cochin.ttc -/Library/Fonts/Copperplate.ttc -/Library/Fonts/Didot.ttc -/Library/Fonts/Futura.ttc -/Library/Fonts/GillSans.ttc -/Library/Fonts/Hoefler Text.ttc -/Library/Fonts/MarkerFelt.ttc -/Library/Fonts/Optima.ttc -/Library/Fonts/Papyrus.ttc -/Library/Fonts/STHeiti Medium.ttc -/System/Library/Fonts/AquaKana.ttc -/System/Library/Fonts/HelveticaNeue.ttc -/System/Library/Fonts/LucidaGrande.ttc -/System/Library/Fonts/Menlo.ttc -/System/Library/Fonts/STHeiti Light.ttc -- cgit v1.2.3 From 1729bed96ad56634ef7668e6db8efb557d094daa Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sun, 28 Apr 2013 17:27:24 +0200 Subject: Updating NEWS --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index 47272e1..ae9daf1 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ Change History 2013/04/27, luaotfload v1.3: * blacklisting lingoes.ttf (segfaults) + * unblacklisting ttc fonts (warning: may break LuaTeX < 0.65) 2013/04/25, luaotfload v1.29: * Reverting the unified resolver, as the database was rebuilt too often -- cgit v1.2.3 From a68db14bd5069439c82a4d0ee315c27f0146ceb0 Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sun, 28 Apr 2013 17:36:36 +0200 Subject: Workaround for non-ascii cache file names (thanks to Kim) --- luaotfload.dtx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/luaotfload.dtx b/luaotfload.dtx index 3f31280..c0489e3 100644 --- a/luaotfload.dtx +++ b/luaotfload.dtx @@ -645,6 +645,15 @@ end --fonts.define.resolvers.file = fonts.define.resolvers.name % \end{macrocode} % +% We override the cleanname function as it outputs garbage for exotic font +% names +% +% \begin{macrocode} +containers.cleanname = function (name) + return (string.gsub(string.lower(name),"[^%w%d\128\255]+","-")) +end +% \end{macrocode} +% % Overriding some defaults set in \context code. % % \begin{macrocode} -- cgit v1.2.3 From 8d98cfd5c26880df501ce68e599feb35081f245d Mon Sep 17 00:00:00 2001 From: Elie Roux Date: Sun, 28 Apr 2013 17:38:58 +0200 Subject: Updating NEWS --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index ae9daf1..7af6c9d 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,7 @@ Change History 2013/04/27, luaotfload v1.3: * blacklisting lingoes.ttf (segfaults) * unblacklisting ttc fonts (warning: may break LuaTeX < 0.65) + * fixing font cache file name with non-ascii characters 2013/04/25, luaotfload v1.29: * Reverting the unified resolver, as the database was rebuilt too often -- cgit v1.2.3