tinymist
tinymist copied to clipboard
Enhance text rendering in preview on low-resolution displays
Motivation and Description
The effect of rendered text is unsatisfied, especially on low-resolution displays. This is because we put glyphs on arbitrary position, resulting bad subpixel renderings. From experience of google fonts, typst/pixglyph, and the blog, we'd better rasterize them by ourselves and put them on finite fraction positions, like N + {0, 1/3, or 2/3} px.
A picture of a section of a glyph atlas that contains “m” glyphs rasterized at different sub-pixel alignments.