summaryrefslogtreecommitdiff
path: root/otfl-font-def.lua
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-10-06 00:23:31 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-10-06 00:23:45 +0200
commitc1d7136fd34aa4dfb47cf9d3c82c9f9e0e5474b8 (patch)
tree94a0b78935a98788f0708394c876c10b3f952874 /otfl-font-def.lua
parent0b83bfdfb73b53a9c1f7ac1281de6250ca66dfc2 (diff)
downloadluaotfload-c1d7136fd34aa4dfb47cf9d3c82c9f9e0e5474b8.tar.gz
Sync with ContTeXt beta 2011.10.05 23:32
Fixes loading TFM fonts. Now almost all tests pass.
Diffstat (limited to 'otfl-font-def.lua')
-rw-r--r--otfl-font-def.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/otfl-font-def.lua b/otfl-font-def.lua
index 2c780ad..aaa6ef4 100644
--- a/otfl-font-def.lua
+++ b/otfl-font-def.lua
@@ -299,7 +299,7 @@ function definers.loadfont(specification)
local embedding
if directive_embedall then
embedding = "full"
- elseif properties.filename and constructors.dontembed[properties.filename] then
+ elseif properties and properties.filename and constructors.dontembed[properties.filename] then
embedding = "no"
else
embedding = "subset"