From 75a2544fe39407aaf91688d4860d25335a2698dc Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sat, 5 Jun 2010 23:34:09 +0300 Subject: Legacy, TFM fonts, don't have a |shared| table This means no |\fontdimen8| for such fonts, is this OK? --- luaotfload.dtx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3