[cairo-bugs] [Bug 40458] New: Font rendering with CAIRO_ANTIALIAS_GRAY fails to produce grayscale antialiasing
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 29 06:29:16 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=40458
Summary: Font rendering with CAIRO_ANTIALIAS_GRAY fails to
produce grayscale antialiasing
Product: cairo
Version: 1.10.2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: cworth at cworth.org
ReportedBy: grumbel at gmx.de
QAContact: cairo-bugs at cairographics.org
Trying to render a font with simple grayscale anti-aliasing, like:
cairo_font_options_t* fopts = cairo_font_options_create();
cairo_font_options_set_subpixel_order(fopts, CAIRO_SUBPIXEL_ORDER_DEFAULT);
cairo_font_options_set_antialias(fopts, CAIRO_ANTIALIAS_GRAY);
cairo_set_font_options(cr, fopts);
fails to work. The options are ignored and instead the resulting rendering will
produce results identical with CAIRO_ANTIALIAS_SUBPIXEL with colored pixel
around the edge instead of grayscale ones.
A simple example program reproducing the problem is attached.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the cairo-bugs
mailing list