Fw: [cairo] Problem with fonts

Behdad Esfahbod behdad at behdad.org
Fri Jul 21 12:36:48 PDT 2006


On Thu, 2006-07-20 at 06:47 -0400, Baptiste Gaillard wrote:
> ----- Original Message ----- 
> From: "Baptiste Gaillard" <b_gaillard at hotmail.com>
> To: "Behdad Esfahbod" <behdad at behdad.org>
> Sent: Thursday, July 20, 2006 9:52 AM
> Subject: Re: [cairo] Problem with fonts
> 
> 
> > Ok, I've seen an exemple here that use a 0.35 font size
> > (http://cairographics.org/samples/text.html), so I think it is an error.
> > With size like 12-14-16 it works.

Ah, not good.  Carl?

> > But I've also anti-aliasing problem with the other options, I've tested 
> > with
> > CAIRO_ANTIALIAS_GRAY and CAIRO_ANTIALIAS_SUBPIXEL but anti-aliased seems
> > again to be off. See the 2 files attached to this message, the first is a
> > symbol rendere with CAIRO_ANTIALIAS_GRAY, the second is rendered with
> > CAIRO_ANTIALIAS_SUBPIXEL (is it normal that the contours are green ?).

The green is kinda expected.  If it doesn't look good on your LCD, you
may have a different RGB order, or a poor FreeType version.

As for GRAY not working, is it the case that you are using a bitmap
font?  Can you please try with a widely known font like Bitstream Vera
and report the results of that?

behdad

> >
> > Thanks.
> >
> > Baptiste.
> > 
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"



More information about the cairo mailing list