]> git.rmz.io Git - dotfiles.git/blob - awesome/themes/nord/runi/extract_glyphs.py
nvim: add FPP copyright snippet
[dotfiles.git] / awesome / themes / nord / runi / extract_glyphs.py
1 #!/usr/bin/env python
2
3 import fontforge as ff
4
5 runic = ff.open("./runi.ttf")
6 glyphs = runic.selection.select(("ranges", None), "A", "z").byGlyphs
7
8 g: ff.glyph
9 for g in glyphs:
10 print(g.glyphname)
11 g.color = 0xD8DEE9
12 g.export(str(g.glyphname)+".svg")