[cairo] [patch] gl: use font's antialias option to check whether it needs mask
Henry (Yu) Song - SISA
hsong at sisa.samsung.com
Tue Mar 27 14:53:13 PDT 2012
Is it implemented in cairo-ft-font.c and cairo-user-font.c where if font antialias option is SUBPIXEL/BEST, it always generate ARGB32 image while A8 is for DEFAULT/GRAY/....?
In cairo-quartz-font.c - it always generates A8 format surface for glyph?
I could see other area that is contradictory to this.
Am I correct?
From: Chris Wilson [chris at chris-wilson.co.uk]
Sent: Tuesday, March 27, 2012 2:32 PM
To: Henry (Yu) Song - SISA; cairo at cairographics.org
Subject: Re: [cairo] [patch] gl: use font's antialias option to check whether it needs mask
On Tue, 27 Mar 2012 21:25:37 +0000, "Henry (Yu) Song - SISA" <hsong at sisa.samsung.com> wrote:
> It seems that we don't need to check each glyphs surface for ARGB32 format. We can use font's antialias option.
Yes, in theory this looks correct, which also probably means we can be
stricter when generating the glyph surfaces as well. That is also worth
Chris Wilson, Intel Open Source Technology Centre
More information about the cairo