summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2011-04-21 04:06:47 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2011-04-21 04:08:10 +0200
commit8b17e4fc3aa9e72f9b20fd8c6d1ced666e08795a (patch)
tree22c15573f4a61ebf90c8252d9de3d9b9813870b0
parent8151f93bac4474b23b51e941ab69b9a817daf82c (diff)
downloadluaotfload-8b17e4fc3aa9e72f9b20fd8c6d1ced666e08795a.tar.gz
Hack to support Demi fonts
-rw-r--r--otfl-font-nms.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 0e4bbda..2ad6898 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" },
- italic = { "regularitalic", "normalitalic", "oblique", "slant" },
- bolditalic = { "boldoblique", "boldslat" },
+ bold = { "boldregular", "demi" },
+ italic = { "regularitalic", "normalitalic", "oblique", "slanted" },
+ bolditalic = { "boldoblique", "boldslanted", "demiitalic", "demioblique", "demislanted" },
}
local loaded = false