diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-04-19 08:28:21 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-04-19 08:28:21 +0200 |
commit | c35210aaaf992793bd111a0bd90e28630c7d2101 (patch) | |
tree | b0706956c6986a8b83d2d62abeeb8a13396605eb /src/luaotfload-database.lua | |
parent | a119b257eb5ad1a9ce9a9015d082f28fd2a3527e (diff) | |
parent | f73ce8ad37e9dab36d7aebf03198586691737afe (diff) | |
download | luaotfload-c35210aaaf992793bd111a0bd90e28630c7d2101.tar.gz |
Merge pull request #333 from phi-gamma/master
latest 2.7 progress
Diffstat (limited to 'src/luaotfload-database.lua')
-rw-r--r-- | src/luaotfload-database.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/luaotfload-database.lua b/src/luaotfload-database.lua index 4944de1..b06f3d5 100644 --- a/src/luaotfload-database.lua +++ b/src/luaotfload-database.lua @@ -360,7 +360,6 @@ This is a sketch of the luaotfload db: conflicts : { barename : int; basename : int }; // filename conflict with font at index; happens with subfonts familyname : string; // sanitized name of the font family the font belongs to, usually from the names table fontname : string; // sanitized name of the font - fontstyle_name : string; // the fontstyle_name field returned by fontloader.info() format : string; // "otf" | "ttf" | "dfont" | "pfa" | "pfb" | "afm" fullname : string; // sanitized full name of the font including style modifiers fullpath : string; // path to font in filesystem @@ -1842,7 +1841,7 @@ local read_font_names = function (fullname, --- 5) check for subfonts and process each of them - if type (info) == "table" and #info > 1 then --- ttc + if type (info) == "table" and #info >= 1 then --- ttc local success = false --- true if at least one subfont got read |