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

I want the font draw in the image horizontal center, but I don't know what method can get the length for font.

name support utf16 decode

the following program: ```go package main import ( "log" "github.com/go-fonts/latin-modern/lmroman12regular" "github.com/golang/freetype/truetype" ) func main() { _, err := truetype.Parse(lmroman12regular.TTF) if err != nil { log.Fatalf("could not parse TTF data: %+v",...

``` These are needed to figure out line height and the height for the background of highlighted text. Font.Bounds().YMin and YMax don't work; they are too large. Instead we need...

Priority-Medium
Type-Defect
auto-migrated

Do you know if this vulnerability is applicable ? References: https://savannah.nongnu.org/bugs/?59308 https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=a3bab162b2ae616074c8877a04556932998aeacd https://www.mail-archive.com/[email protected]/msg00125.html https://nvd.nist.gov/vuln/detail/CVE-2020-15999 Thank you ! Angelina

How to draw fonts with matrix transform?

This package doesn't support GPOS. Fonts from Google's Font library do not work as they use the [GPOS](https://docs.microsoft.com/de-de/typography/opentype/spec/gpos) table instead of the [kern](https://docs.microsoft.com/de-de/typography/opentype/spec/kern) table. Using https://fontdrop.info/, you can see that...

Hi. when I use Persian fonts, result characters are separated on the image. any suggestion how to fix that?