summaryrefslogtreecommitdiff
path: root/otfl-font-nms.lua
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-16 09:54:04 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-16 09:54:04 +0200
commitca2e2bdcdbe78131ff1766e527ca0a9f5b01afa4 (patch)
tree7b35170d84f25c75a2e4c27ccbc261ed9c8212c2 /otfl-font-nms.lua
parent9e597b20c304c3dd1f2a49277e5c4bbbbb5ac9a1 (diff)
downloadluaotfload-ca2e2bdcdbe78131ff1766e527ca0a9f5b01afa4.tar.gz
Adding semibold as a synonym for bold, not sure it's useful...
Diffstat (limited to 'otfl-font-nms.lua')
-rw-r--r--otfl-font-nms.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 02ae859..e6faeab 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -76,9 +76,12 @@ end
local synonyms = {
regular = { "normal", "roman", "plain", "book", "medium" },
- bold = { "boldregular", "demi", "demibold" },
+ -- boldregular was for old versions of Linux Libertine, is it still useful?
+ -- semibold is in new versions of Linux Libertine, but there is also a bold,
+ -- not sure it's useful here...
+ bold = { "demi", "demibold", "semibold", "boldregular" },
italic = { "regularitalic", "normalitalic", "oblique", "slanted" },
- bolditalic = { "boldoblique", "boldslanted", "demiitalic", "demioblique", "demislanted", "demibolditalic" },
+ bolditalic = { "boldoblique", "boldslanted", "demiitalic", "demioblique", "demislanted", "demibolditalic", "semibolditalic" },
}
local loaded = false