Utilities for text layout, wrapping, and rendering.
Go to file
2023-09-14 20:28:32 -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 Text bounds are now returned correctly 2023-09-14 20:28:32 -04:00
LICENSE Initial commit 2023-07-07 01:49:32 -04:00
README.md Add more description to readme 2023-07-07 02:05:46 -04:00
setter.go Text bounds are now returned correctly 2023-09-14 20:28:32 -04:00

typeset

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.