alexheretic / ab-glyph

Rust API for loading, scaling, positioning and rasterizing OpenType font glyphs
Apache License 2.0
372 stars 24 forks source link

Subpixel Antialiasing #60

Closed markusmoenig closed 2 years ago

markusmoenig commented 2 years ago

Hi,

great job, any plans to support sub pixel AA ? At small resolutions and low contrast things can get ugly. Would be great if we would have better AA support one day.

Thanks!

alexheretic commented 2 years ago

Hello, the short answer is I don't have any such plans personally. I find the regular pixel coverage AA to work well at the resolutions I target. However, I would be interested in the results were someone to investigate it.

The lib also does not support hinting. Perhaps using freetype or equivalent native libs would be the choice for low resolution rendering?

markusmoenig commented 2 years ago

Ok, thanks for the answer Alex.