mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-29 12:38:58 -06:00
- Glyphs are rendered on whole pixels: egui's sub-pixel binning draws each glyph at quarter-pixel offsets, which it notes makes text blurrier, most visibly at the 100-150 % scaling common on Windows. - Light theme: a mild gamma (0.75) on glyph coverage darkens the antialiased edges of dark text, which egui renders linearly (thin and grey next to the system's text). The dark theme keeps egui's curve. - The faintest text colour met only 3.3:1 (light) and 3.9:1 (dark). It is now #6B6B73 / #97979E, so every text colour meets WCAG AA (4.5:1) on every surface in both themes, enforced by a test. Compared in headless renders at 1x and 2x: crisper stems at 1x, little change at 2x. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>