Skip to content

Commit

Permalink
update pua.html
Browse files Browse the repository at this point in the history
  • Loading branch information
miiton committed Oct 12, 2017
1 parent ab47e5f commit a0d2c07
Show file tree
Hide file tree
Showing 2 changed files with 1,366 additions and 466 deletions.
9 changes: 9 additions & 0 deletions export_pua.py
@@ -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))

0 comments on commit a0d2c07

Please sign in to comment.