Package Usage: go: github.com/tinne26/etxt
etxt is a package for font management and text rendering in Golang
designed to be used mainly with the Ebitengine game engine.
While the API surface can look slightly intimidating at the beginning,
common usage depends only on a couple types and a few functions...
First, you create a FontLibrary and parse the fonts:
Then, you create a Renderer:
Finally, you set a target and start drawing:
There are a lot of parameters you can configure, but the critical ones
are font, size, align, color, cache and target. Take a good look at those
and have fun exploring the rest!
14 versions
Latest release: over 2 years ago
21 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/tinne26/etxt