font-patcher: only load Pomicons.otf with --pomicons

Ref: https://github.com/ryanoasis/nerd-fonts/issues/19
This commit is contained in:
Daniel Hahler 2015-08-04 13:29:55 +02:00
parent 4e7d774fc4
commit 5bba1192c6

View file

@ -89,7 +89,8 @@ sourceFont_em_original = sourceFont.em
symbols = fontforge.open("glyph-source-fonts/original-source.otf")
symbols2 = fontforge.open("glyph-source-fonts/devicons.ttf")
pomicons = fontforge.open("glyph-source-fonts/Pomicons.otf")
if args.pomicons:
pomicons = fontforge.open("glyph-source-fonts/Pomicons.otf")
symbolsRangeStart = 0xE500
symbolsRangeEnd = 0xE521