diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-11 02:08:49 -0700 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-08-11 02:08:49 -0700 |
commit | 0aed99a49103b61e93d68ee7b3132fbc9f5adc42 (patch) | |
tree | bccf64885a749d827c68716add305f9a16ba4300 /luaotfload-auxiliary.lua | |
parent | 339587c3f627b206ef15e7207f63d88df73217ef (diff) | |
parent | 61a24f830504da4252dbc3c8de4b273749174580 (diff) | |
download | luaotfload-0aed99a49103b61e93d68ee7b3132fbc9f5adc42.tar.gz |
Merge pull request #122 from phi-gamma/master
integrate Context AFM libraries
Diffstat (limited to 'luaotfload-auxiliary.lua')
-rw-r--r-- | luaotfload-auxiliary.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luaotfload-auxiliary.lua b/luaotfload-auxiliary.lua index 0a3ace8..da3f5f2 100644 --- a/luaotfload-auxiliary.lua +++ b/luaotfload-auxiliary.lua @@ -234,7 +234,7 @@ local set_capheight = function (fontdata) local shared = fontdata.shared local parameters = fontdata.parameters local capheight - if shared then + if shared and shared.rawdata.metadata.pfminfo then local units_per_em = parameters.units local size = parameters.size local os2_capheight = shared.rawdata.metadata.pfminfo.os2_capheight |