Re: how to enable font aliasing

Lawrence D'Oliveiro <[email protected]>
Newsgroups gmane.comp.lib.cairo
Organization Geek Central
Message-ID <[email protected]>
On Tue, 24 Mar 2015 19:08:25 -0600, Dan Raymond wrote:

> On 3/24/2015 7:04 PM, Lawrence D'Oliveiro wrote:
>
>> Text anti-aliasing should be on by default. Are you creating a
>> CAIRO_FORMAT_A1 image surface, by any chance?
> 
> I've tried the following surfaces (same results each time):
> 
> surface = cairo_image_surface_create(CAIRO_FORMAT_RGB24, 640, 480);
> surface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 640, 480);
> surface = (void 
> *)cairo_win32_surface_create_with_dib(CAIRO_FORMAT_RGB24, 640, 480);

You’re not calling cairo_set_antialias, are you? What does
cairo_get_antialias
<http://cairographics.org/manual/cairo-cairo-t.html#cairo-get-antialias>
return?

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.