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:06:47 +0200
commitc6cba38a7be2ce6306e5691cd944b07efe7dbc57 (patch)
tree2a5d5b2b56bc3c9a8ebbad4fb192e01ef3871fcf
parentc8be683d0645394e6f6472d553d070ab9e56d6a9 (diff)
downloadluaotfload-c6cba38a7be2ce6306e5691cd944b07efe7dbc57.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