freetype icon indicating copy to clipboard operation
freetype copied to clipboard

The Freetype font rasterizer in the Go programming language.

Results 51 freetype issues
Sort by recently updated
recently updated
newest added

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,...

i try this: ``` c := freetype.NewContext() ... c.SetSrc(image.NewUniform(color.RGBA{255, 0, 0, 180})) // ``` but always very strange... Can someone help me? Thanks

I'm learning how to use go modules and trying to convert my project to use them but I'm getting an error from this package when try to build it. When...

I had a panic occur in production today, this could be related to some of the bugs found in #17. It appears to stem from https://github.com/golang/freetype/blob/e2365dfdc4a05e4b8299a783240d4a7d5a65d4e4/truetype/glyph.go#L331 The stack trace is...

Hello, this is kinda of a feature request, but also a request for clarification because maybe I just got things wrong. I am trying to work on [go-sdl2](https://github.com/veandco/go-sdl2/) so that...

How would I go about handling fallback fonts? Say I want to "write" a string with both japanese and latin characters, but the font I loaded only contains loaded characters....

``` It is currently not possible to get the bounding box of a specific glyph, and thus one can't figure out all the metrics one might need. Please add something...

Priority-Medium
Type-Defect
auto-migrated

Only face.Glyph results (glyph images) are cached. This makes font.MeasureString calls more expensive than they ought to be. See https://groups.google.com/forum/#!topic/golang-nuts/oqRV5P-HQIo for the original report.

[License](https://github.com/golang/freetype/blob/master/testdata/COPYING) in [testdata](https://github.com/golang/freetype/tree/master/testdata) is non-free because it prohibits modification. Re-distribution of such materials is forbidden in Debian. Please remove testdata or consider replacing it with free alternative. Thanks.