Re: [patch] gl: use font's antialias option to check whether it needs mask
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <1332887517_119058@CP5-2952> |
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. > > > Author: Henry (Yu) Song <[email protected]> > Date: Tue Mar 27 14:19:45 2012 -0700 > > gl: There is need to loop over number of glyphs to check wether the glyph > image is a ARGB32. The font's antialias option can be used for checking. > if antialias is SUBPIXEL or BEST, the glyph surface will be ARGB32, > otherwise, it will be A8 format. Pushed, thanks. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo