summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2012-03-26 01:59:06 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2012-03-26 01:59:06 +0200
commita72e8443d44ef6a24b74e19d98c03d3c2b3e2c34 (patch)
treecc3001bddf14115cc05db01c1891d8fd328455f5
parent092c9a84889683c8c72bfc1cef9b68cce17673a1 (diff)
downloadluaotfload-a72e8443d44ef6a24b74e19d98c03d3c2b3e2c34.tar.gz
Find demibold fonts as well
-rw-r--r--otfl-font-nms.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 2ad6898..a8b3100 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -76,9 +76,9 @@ end
local synonyms = {
regular = { "normal", "roman", "plain", "book", "medium" },
- bold = { "boldregular", "demi" },
+ bold = { "boldregular", "demi", "demibold" },
italic = { "regularitalic", "normalitalic", "oblique", "slanted" },
- bolditalic = { "boldoblique", "boldslanted", "demiitalic", "demioblique", "demislanted" },
+ bolditalic = { "boldoblique", "boldslanted", "demiitalic", "demioblique", "demislanted", "demibolditalic" },
}
local loaded = false