freetype icon indicating copy to clipboard operation
freetype copied to clipboard

how could i support pingfang.ttf font?

Open hliyao opened this issue 6 years ago • 0 comments

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.

hliyao avatar Sep 21 '19 06:09 hliyao