Last active
December 16, 2015 15:39
-
-
Save phi-gamma/5457042 to your computer and use it in GitHub Desktop.
patch for otfl-font-nms.lua to not skip libertine mono
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /tmp/otfl-font-nms.lua 2013-04-25 04:20:05.710574106 +0200 | |
+++ otfl-font-nms.lua 2013-04-25 10:38:06.235616183 +0200 | |
@@ -151,6 +151,11 @@ | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment