summaryrefslogtreecommitdiff
path: root/luaotfload.dtx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2010-06-05 23:34:09 +0300
committerKhaled Hosny <khaledhosny@eglug.org>2010-06-05 23:34:09 +0300
commit75a2544fe39407aaf91688d4860d25335a2698dc (patch)
tree601ddc3e387c5689e087e9b8be68252ca2fb329f /luaotfload.dtx
parent2a3e94649fb3f0dde4f54ed456ceed75defa46ff (diff)
downloadluaotfload-75a2544fe39407aaf91688d4860d25335a2698dc.tar.gz
Legacy, TFM fonts, don't have a |shared| table
This means no |\fontdimen8| for such fonts, is this OK?
Diffstat (limited to 'luaotfload.dtx')
-rw-r--r--luaotfload.dtx2
1 files changed, 1 insertions, 1 deletions
diff --git a/luaotfload.dtx b/luaotfload.dtx
index 3101f8c..7f6f591 100644
--- a/luaotfload.dtx
+++ b/luaotfload.dtx
@@ -569,7 +569,7 @@ luaotfload.loadmodule('font-clr.lua')
% \begin{macrocode}
local function def_font(...)
local fontdata = fonts.define.read(...)
- if type(fontdata) == "table" then
+ if type(fontdata) == "table" and fontdata.shared then
local capheight
local units = fontdata.units
local size = fontdata.size