kas-gui / kas-text

Rich text processing
Apache License 2.0
59 stars 2 forks source link

[raster] Make small fonts look good #54

Open dhardy opened 3 years ago

dhardy commented 3 years ago

Since this library now has a raster module...

Recent work (mostly #49 and kas-gui/kas#201) has improved legibility of small fonts to the point that 5-6pt fonts are fairly easy to read, but quality is still lacking compared to more mature systems.

Likely this means grid fitting (instructing) glyphs. There doesn't currently appear to be a Rust library available for this.

Another approach would be to use system-native libraries, possibly via crossfont, though this should be optional (allowing pure-Rust usage).

dhardy commented 3 years ago

Examples of current appearance at 5, 6, 8pt (Noto Sans): noto-sans-5pt noto-sans-6pt noto-sans-8pt