5 ms·
Lite XL use the freetype library for font rendering instead of the stb_truetype library. Using the freetype library we do hinting but only in the vertical axis
by frankohn 5y ago
Lite XL use the freetype library for font rendering instead of the stb_truetype library.
Using the freetype library we do hinting but only in the vertical axis and subpixel rendering and positioning along the horizontal axis. This is the so called "slight" hinting and it was used with subpixel rendering.
The original Lite on the other side doesn't do any hinting and is not doing subpixel either, it just does grayscale rendering.
- buckbee 5y agoIn order to reduce complexity in the main project, can’t you separate freetype into a tool that caches fonts as bitmap glyphmaps, and use the glyphmaps directly? That way, the editor itself doesn’t need to worry about that.
- frankohn 5y agoLooks like more complexity and that would prevent users from changing fonts in their preferences.
- jakearmitage 5y agoRight now, how does it work? Does it build a glyphmap everytime the editor starts?