summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-com.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luaotfload/otfl-font-com.lua')
-rw-r--r--Master/texmf-dist/tex/luatex/luaotfload/otfl-font-com.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-com.lua b/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-com.lua
new file mode 100644
index 00000000000..4b6d8162f56
--- /dev/null
+++ b/Master/texmf-dist/tex/luatex/luaotfload/otfl-font-com.lua
@@ -0,0 +1,16 @@
+if not modules then modules = { } end modules ['font-com'] = {
+ version = 1.002,
+ comment = "Luaotfload backward compatibility module",
+ author = "Elie Roux",
+ copyright = "Luaotfload Development Team",
+ license = "GNU GPL v2"
+}
+
+fonts = fonts or { }
+local fonts = fonts
+
+-- In new ConTeXt versions, fonts.identifiers is renamed in
+-- fonts.hashes.identifiers, this break fontspec from TeXLive 2012
+if not fonts.identifiers then
+ fonts.identifiers = fonts.hashes.identifiers
+end