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

"Henry (Yu) Song - SISA" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <3955FA337689574EB32F94B12A7E6E9E0B4F88B7@ex10mail>
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?

Thanks

Henry
________________________________________
From: Chris Wilson [[email protected]]
Sent: Tuesday, March 27, 2012 2:32 PM
To: Henry (Yu) Song - SISA; [email protected]
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" <[email protected]> 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
investigating.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.