[cairo] [patch] gl: use font's antialias option to check whether it needs mask

Chris Wilson chris at chris-wilson.co.uk
Tue Mar 27 15:18:52 PDT 2012


On Tue, 27 Mar 2012 21:53:13 +0000, "Henry (Yu) Song - SISA" <hsong at sisa.samsung.com> wrote:
> Hi, Chris
> 
> 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?

Sounds very plausible. :) Thanks for digging through the code and doing the
sanity checks.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list