From c1d7136fd34aa4dfb47cf9d3c82c9f9e0e5474b8 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 6 Oct 2011 00:23:31 +0200 Subject: Sync with ContTeXt beta 2011.10.05 23:32 Fixes loading TFM fonts. Now almost all tests pass. --- otfl-font-def.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'otfl-font-def.lua') 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" -- cgit v1.2.3