8 Commits

Author SHA1 Message Date
870254efd2 font.hpp -> font.h 2024-12-08 17:30:29 -06:00
671fe92b12 tools/ttf_outline: twiddle at compile-time 2024-12-01 10:30:01 -06:00
b5ac43c109 text_editor: refactor render/transform 2024-05-20 11:26:19 -05:00
5c192ffd2e text_editor: initial gap buffer implementation 2024-05-19 14:20:27 -05:00
15839ae6ca ttf_outline: rectangular textures must include all bytes
Previously, the texture was truncated, which caused spurious pixels to
appear in the last row(s) of the texture.
2023-12-23 22:24:59 +08:00
b484b5d4fe font_*: fully parameterize source/destination bit depth
After implementing this, I realized I don't like the appearance of the
monochrome font as much as the antialiased font.
2023-12-23 21:55:03 +08:00
ffbfcd9fd5 incomplete 1bpp font experiment 2023-12-23 18:30:21 +08:00
8f0afc2868 font_outline: remove all 1024/256/128 magic numbers
This fully threads both the real minimum size of the texture and the
dimensions of the texture through to the TA parameters.

This also removes spurious zero-area drawing commands (space
characters).
2023-12-22 23:54:39 +08:00