Hey Jens,<div><br></div><div>I'm not an expert in the subject, but I'm quite sure you are looking for antialiasing in cairo. Looks like its your lucky day. Cairo supports antialiasing in two modes; GRAY and SUBPIXEL. I am using cairomm and in it the function call looks something like this. <span class="Apple-style-span" style="font-family: -webkit-monospace; font-weight: bold; "><table class="memname">
<tbody><tr><td class="memname">void Cairo::Context::set_antialias</td><td>(</td><td class="paramtype"><a class="el" href="http://www.cairographics.org/documentation/cairomm/reference/namespaceCairo.html#2cb381e7f63bef767a7d697fc5af13b4" style="text-decoration: none; color: rgb(59, 128, 174); font-weight: bold; ">Antialias</a> </td>
<td class="paramname"><em>antialias</em></td><td> )</td></tr></tbody></table></span>where Antialias is an enum with values </div><div><span class="Apple-style-span" style="font-family: -webkit-sans-serif; font-size: 16px; "><table border="0" cellspacing="2" cellpadding="0">
<tbody><tr><td valign="top"><em>ANTIALIAS_DEFAULT</em> </td><td></td></tr><tr><td valign="top"><em><a class="anchor" name="2cb381e7f63bef767a7d697fc5af13b494e3797b8dcda3573e739c3276b9c77a"></a>ANTIALIAS_NONE</em> </td><td>
</td></tr><tr><td valign="top"><em><a class="anchor" name="2cb381e7f63bef767a7d697fc5af13b4981aa2b3f2aef2f0f2e490cea6c3639a"></a>ANTIALIAS_GRAY</em> </td><td></td></tr><tr><td valign="top"><em><a class="anchor" name="2cb381e7f63bef767a7d697fc5af13b43ee3d2f0eea97db29139eac7950269aa"></a>ANTIALIAS_SUBPIXEL</em></td>
</tr></tbody></table></span></div><div><br><div class="gmail_quote">On Tue, Jan 13, 2009 at 12:14 AM, Behdad Esfahbod <span dir="ltr"><<a href="mailto:behdad@behdad.org">behdad@behdad.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Jens,<br>
<br>
You really need to tell us more about how you are using cairo. Which<br>
platform? Which version? Which surface backend? Which font backend? Which<br>
font? Screenshot of the output? Sample code?<br>
<br>
behdad<br>
<br>
Jens Saathoff wrote:<br>
> Hi.<br>
><br>
> I'm very new to cairo and there are a lot of questions. I'm creating<br>
> some graphics with cairo and also place text on my graphics and there's<br>
> the problem. The text looks ugly cause it's very edgy...it should look<br>
> smoother (anti-alising). Is this possible with cairo?<br>
><br>
> thank you very much<br>
> _______________________________________________<br>
> cairo mailing list<br>
> <a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
> <a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
><br>
_______________________________________________<br>
cairo mailing list<br>
<a href="mailto:cairo@cairographics.org">cairo@cairographics.org</a><br>
<a href="http://lists.cairographics.org/mailman/listinfo/cairo" target="_blank">http://lists.cairographics.org/mailman/listinfo/cairo</a><br>
</blockquote></div><br></div>