Utilities for text layout, wrapping, and rendering.
Go to file
2024-09-06 00:33:51 -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 Fix README.md 2024-09-06 00:23:36 -04:00
setter.go SetTabWidth now takes in an Int26_6, and doesn't use emspaces 2024-09-06 00:33:51 -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 draw.Image using a Drawer which "extends" TypeSetter.