forked from kudryavka/Ricty
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
1,366 additions
and
466 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
import fontforge | ||
|
||
|
||
cica = fontforge.open('./dist/Cica-Regular.ttf') | ||
for g in cica.glyphs(): | ||
if g.isWorthOutputting and g.encoding > 0xe0a0 and g.encoding < 0xf4a8: | ||
print('<div class="glyph"><div class="glyphUnicode">%s</div><div class="glyphDisplay">&#%s;</div></div>' % (hex(g.unicode), g.encoding)) |
Oops, something went wrong.