fogleman / gg

Go Graphics - 2D rendering in Go with a simple API.
https://godoc.org/github.com/fogleman/gg
MIT License
4.37k stars 354 forks source link

`LoadFontFace` from []byte vs. filepath? #103

Open heatxsink opened 4 years ago

heatxsink commented 4 years ago

Is there any suggested way of loading a fontface from a []byte vs. filepath?

HeCorr commented 3 years ago

hello! please read https://github.com/fogleman/gg/issues/141#issuecomment-911164281. you can probably use something similar.