Made sure alpha sharpen is only applied when the color alpha is at or above 1.0

This commit is contained in:
2025-01-11 08:47:11 -05:00
parent d56e1d608c
commit dbe97a7176
4 changed files with 85 additions and 41 deletions

View File

@@ -18,7 +18,7 @@ Features:
* Tracks text layers!
* Push and pop stack for font, font_size, colour, view, position, scale and zoom!
* Enforce even only font-sizing (useful for linear-zoom)
* Snap-positining to view for better hinting
* Snap-positioning to view for better hinting
* Basic or advanced text shaping via Harfbuzz
* All rendering is real-time, triangulation done on the CPU, vertex rendering and texture blitting on the gpu.
* Can hand thousands of draw text calls with very large or small shapes.