Utilities for text layout, wrapping, and rendering.
Go to file
2024-05-05 02:35:25 -04:00
drawer.go color.RGBA is no longer hardcoded 2023-07-11 22:25:44 -04:00
go.mod Initial commit 2023-07-07 01:49:32 -04:00
go.sum Initial commit 2023-07-07 01:49:32 -04:00
layout.go TypeSetter can now do vertical text alignment yay 2023-09-15 15:54:46 -04:00
LICENSE Initial commit 2023-07-07 01:49:32 -04:00
README.md Add godoc badge to README.md 2024-05-05 06:14:39 +00:00
setter.go Fix bug where vertically aligned text would creep downward 2024-05-05 02:35:25 -04:00

typeset

Go Reference

Typeset provides utilities for text layout, wrapping, and rendering.

The state of a text layout is stored in a TypeSetter, and it can be drawn to any image.Image using a Drawer which "extends" TypeSetter.