[cairo-bugs] [Bug 99021] New: bad rendering showing text with CAIRO_ANTIALIAS_BEST
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 8 05:14:47 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=99021
Bug ID: 99021
Summary: bad rendering showing text with CAIRO_ANTIALIAS_BEST
Product: cairo
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: image backend
Assignee: chris at chris-wilson.co.uk
Reporter: jason at aquaticape.us
QA Contact: cairo-bugs at cairographics.org
Created attachment 128375
--> https://bugs.freedesktop.org/attachment.cgi?id=128375&action=edit
image of bad text rendering
Setting the antialias font option to CAIRO_ANTIALIAS_BEST makes text rendering
bad, as shown in the following program.
cairo_surface_t *surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
80, 40);
cairo_t *cr = cairo_create (surface);
cairo_move_to (cr, 5, 30);
cairo_set_font_size (cr, 30);
cairo_font_options_t *font_options = cairo_font_options_create ();
cairo_font_options_set_antialias (font_options, CAIRO_ANTIALIAS_BEST);
cairo_set_font_options (cr, font_options);
cairo_show_text (cr, "hello");
cairo_surface_write_to_png (surface, "out.png");
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20161208/8a9cd6c2/attachment.html>
More information about the cairo-bugs
mailing list