Utilities for text layout, wrapping, and rendering.
Go to file
2024-09-03 21:17:29 -04:00
drawer.go Create another For iterator that leaves out the fake null rune 2024-09-03 18:38:01 -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 Drawer now draws tofu 2024-09-03 17:59:07 -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 TypeSetter.forInternal resets last known rune bound on new line 2024-09-03 21:17:29 -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.