Registry / utility / burntsushi-freetype-go

burntsushi-freetype-go

JSON →
library0.0.0-20160129220410-b763ddbfe298gogounverified

Go bindings for the FreeType font rasterization library.

go get github.com/BurntSushi/freetype-go
INSTALL
IMPORT
SIG · BURNTSUSHI-FREETYP
B
burntsushi-freetype-go
utilitygov0.0.0-20160129220410-b763ddbfe298
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

freetype
github.com/BurntSushi/freetype-go

Parse and use a TrueType font

package main import ( "github.com/BurntSushi/freetype-go/freetype" ) func main() { // Example: load a font and render text fontBytes := []byte{} // load font data f, _ := freetype.ParseFont(fontBytes) _ = f }
Debug
Known issues
gotchaDeprecated in favor of golang.org/x/image/font
fix
Use golang.org/x/image/font/sfnt for font parsing
affects: *
Upgrade
Version history
0.0.0-20160129220410-b763ddbfe298latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
burntsushi-freetype-go — go get burntsushi-freetype-go · libregistry