rmkit-dev / rmkit

| remarkable app framework | https://rmkit.dev
https://build.rmkit.dev
365 stars 32 forks source link

Text improvements #215

Closed rempack-b closed 8 months ago

rempack-b commented 8 months ago

Improves the general appearance of text by rendering subpixels in shades of gray.

This required a fix to color::gray32. An off by one error made white render as 0xfffaff, which broke alpha rendering for text backgrounds that expected pure white.

raisjn commented 8 months ago

i tested this and its not a drop in replacement for current behavior, i think we will likely need to make this an optional way of rendering anti-aliased text

raisjn commented 8 months ago

added in 04728fea36fa7f8a392d7c50b89c8a852ec5a308, thanks!