Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

Commit

Permalink
restore name fields from metadata.origname
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Gesang committed May 11, 2013
1 parent 2d35212 commit ff293e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions luaotfload-auxiliary.lua
Expand Up @@ -64,10 +64,8 @@ local add_fontdata_fallbacks = function (fontdata)
fontdata.units = fontdata.units_per_em
else --- otf
metadata = fontdata.shared.rawdata.metadata
fontdata.name = fontdata.name
or fontdata.fullname
or fontdata.psname
metadata = fontdata.shared.rawdata.metadata
fontdata.name = metadata.origname or fontdata.name
fontdata.units = fontdata.units_per_em
fontdata.size = fontdata.size or fontparameters.size
local resources = fontdata.resources
Expand Down

0 comments on commit ff293e5

Please sign in to comment.