5 Commits

Author SHA1 Message Date
1f6a29f379 example: update several examples 2024-01-03 23:32:37 +08:00
3373ea4c0c font_outline_punch_through: implement punch through
This enables alpha blending for both font_outline and
font_outline_punch_through.

I have also experimented more with 16-gray vs 256-gray--I have not
decided which between monochrome, 16-gray, or 256-gray I like the
most.

Perhaps a better test might be to test hanzi.
2023-12-24 01:12:08 +08: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