<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - bad rendering showing text with CAIRO_ANTIALIAS_BEST"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99021">99021</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>bad rendering showing text with CAIRO_ANTIALIAS_BEST
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>image backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>chris@chris-wilson.co.uk
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jason@aquaticape.us
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=128375" name="attach_128375" title="image of bad text rendering">attachment 128375</a> <a href="attachment.cgi?id=128375&action=edit" title="image of bad text rendering">[details]</a></span>
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");</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>