Re: Subpixel positioning

Behdad Esfahbod <[email protected]> Mon, 15 Oct 2018 10:34:03 -0700
Newsgroups gmane.comp.lib.cairo
Message-ID <CAF63+7Xn5-0Jos2zM_pis=6V5fBsZOcpR0+CVbzd9dCHwAihOg@mail.gmail.com>
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 <[email protected]>
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
> [email protected]
> https://lists.cairographics.org/mailman/listinfo/cairo



-- 
behdad
http://behdad.org/

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo