how could i support pingfang.ttf font?
hliyao opened this issue · 0 comments
hliyao commented
when i parse font of pingfang.ttf, it tell "bad TTF version", how could i fix it?
func parse(ttf []byte, offset int) (font *Font, err error) {
magic, offset := u32(ttf, offset), offset+4
the magic show it is the post script font.