[cairo] Subpixel positioning

Matthias Clasen matthias.clasen at gmail.com
Mon Oct 15 17:27:16 UTC 2018


Hi,

a while ago, I've spent some time trying to figure out subpixel positioning
for fonts in cairo. The results are here:

https://github.com/matthiasclasen/cairo/commit/f3d186f10a0bc474a1b93fe580b92c1b8149142c

This is using a 4x4 subpixel grid, and applies subpixel positioning
when metrics hinting is turned off. For now, I've only added it to the
image compositor.

Would be great to get something like this into cairo.

Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20181015/023a97bc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subpixel-phases.png
Type: image/png
Size: 29349 bytes
Desc: not available
URL: <https://lists.cairographics.org/archives/cairo/attachments/20181015/023a97bc/attachment-0001.png>


More information about the cairo mailing list