summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Roux <elie.roux@telecom-bretagne.eu>2013-04-25 11:09:50 +0200
committerElie Roux <elie.roux@telecom-bretagne.eu>2013-04-25 11:09:50 +0200
commit5478d8cf8911be06c5ab25ba6a07c85119da953b (patch)
tree356cbf3fe0da483dc40160499690d4919db372de
parent2968454d4a684d1c83dc6d01c6a5391d708ab6c6 (diff)
downloadluaotfload-5478d8cf8911be06c5ab25ba6a07c85119da953b.tar.gz
Fixing a bug with Libertine Mono (phi-gamma)
See tex.stackexchange.com/questions/110566/libertine-mono-and-lualatex
-rw-r--r--otfl-font-nms.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/otfl-font-nms.lua b/otfl-font-nms.lua
index 50febab..a75e4e6 100644
--- a/otfl-font-nms.lua
+++ b/otfl-font-nms.lua
@@ -154,6 +154,11 @@ function names.resolve(specification)
elseif subfamily == "regular" or
table.contains(synonyms.regular, subfamily) then
found.fallback = face
+ elseif name == fullname then
+ --- guard for Libertine Mono which has
+ --- subtype == “mono”
+ found[1] = face
+ break
end
else
if name == fullname