add font bsky
This commit is contained in:
@@ -35,7 +35,12 @@ glyph.width = 1024
|
||||
|
||||
glyph = icons.createChar(0xE003, "bluesky")
|
||||
glyph.importOutlines("/tmp/bluesky.svg")
|
||||
glyph.transform((scale/100.0, 0, 0, scale/100.0, 0, 0))
|
||||
# center vertically: move to baseline
|
||||
bb = glyph.boundingBox()
|
||||
yshift = -bb[1] # move bottom to y=0
|
||||
glyph.transform((1, 0, 0, 1, 0, yshift))
|
||||
s = scale / 100.0
|
||||
glyph.transform((s, 0, 0, s, 0, 0))
|
||||
glyph.width = 1024
|
||||
|
||||
icons.generate("/tmp/icons.ttf")
|
||||
|
||||
BIN
aifont.ttf
BIN
aifont.ttf
Binary file not shown.
Reference in New Issue
Block a user