[cairo] Subpixel positioning

Behdad Esfahbod behdad at behdad.org
Mon Oct 15 17:34:03 UTC 2018


Thanks Matthias.  This looks surprisingly short and good!

I think we should get this in, then:

- Implement it on the Xlib backend,

- Figure out if we want to turn image backend's / Xlib backend's default
font options to disable metrics-hinting.  I'm not sure.

b

On Mon, Oct 15, 2018 at 10:28 AM Matthias Clasen <matthias.clasen at gmail.com>
wrote:

> 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
> --
> cairo mailing list
> cairo at cairographics.org
> https://lists.cairographics.org/mailman/listinfo/cairo



-- 
behdad
http://behdad.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo/attachments/20181015/79c1d804/attachment.html>


More information about the cairo mailing list