mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-29 04:47:10 -06:00
* Render: draw on-screen text like macOS, on whole pixels Pages looked lighter and thinner than in Word and other Mac apps: - macOS thickens glyphs a little when it draws text on screen (font smoothing). RenderOptions::text_darkening strokes each outline by the amount macOS uses (from Pathfinder's measurements: 1.21% of the pixel size, 1.25x that vertically, capped at 0.3 px, none past 72 ppem). The editor turns it on for on-screen pages on macOS; PDF/PNG exports and other platforms are unchanged. - Page textures were drawn at fractional positions after scrolling, so every glyph was resampled and blurred. They now land on whole device pixels at their own size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Merge follow-ups: page textures use #165's texel alignment; clippy as_chunks in a test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: ssamstudio <267867645+ssamstudio@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Brandon Thomas <echelon@gmail.com>