diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-05 23:34:09 +0300 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2010-06-05 23:34:09 +0300 |
commit | 75a2544fe39407aaf91688d4860d25335a2698dc (patch) | |
tree | 601ddc3e387c5689e087e9b8be68252ca2fb329f | |
parent | 2a3e94649fb3f0dde4f54ed456ceed75defa46ff (diff) | |
download | luaotfload-75a2544fe39407aaf91688d4860d25335a2698dc.tar.gz |
Legacy, TFM fonts, don't have a |shared| table
This means no |\fontdimen8| for such fonts, is this OK?
-rw-r--r-- | luaotfload.dtx | 2 |
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 |