Lagrange [work/v1.7]

Text: Align monospace glyph sizing to pixel grid

=> Jaakko Keränen

Mon Dec 7 20:44:46 2020 +0200

This is a better solution than a magic 0.25 pixel offset.

To eliminate partially occupied glyph edge pixels, scale the glyphs slightly so they align with full pixels. Scaling is only done horizontally so it doesn't affect line height.

IssueID #86

 src/ui/text.c | 49 +++++++++++++++++++++++++++++--------------------
 1 file changed, 29 insertions(+), 20 deletions(-)

=> Diff (Colored) | Diff (Colored, Plain Text) | 🔨 Patch

=> Parent c5234b74 | Repository

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.7/commits/73c96402a21872dba8999caba8f4374a91f0d8e4
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
59.677864 milliseconds
Gemini-to-HTML Time
0.618956 milliseconds

This content has been proxied by September (ba2dc).