Merge pull request #20 from blueyed/only-load-pomicons-if-used

font-patcher: only load Pomicons.otf with --pomicons
This commit is contained in:
Ryan L McIntyre 2015-08-04 22:22:36 -04:00
commit cccd9db84f

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