Slide 24
Slide 24 text
yoshi_glyph = base_font.getGlyphSet().get(yoshi_cid)
yoshi_pen = T2CharStringPen(yoshi_glyph.width, None)
yoshi_glyph.draw(yoshi_pen)
char_strings = {
".notdef":
...
,
yoshi_cid: yoshi_pen.getCharString(),
}
fb.setupCFF(
"Yoshida-Sans",
{"FullName": "Yoshida-Sans"},
char_strings,
{}
)