[sugar] sugar system font in cairo

Dan Williams dcbw
Tue Nov 7 07:39:22 EST 2006


On Mon, 2006-11-06 at 21:51 -0500, Erik Blankinship wrote:
> And, out of curiosity, what's wrong with cairo's text rendering for
> the OLPC machine?

I would guess that Cairo's text rendering has basically no international
support or shaping, and is likely just for simple english strings and/or
debugging.  International text rendering is what Pango does quite well.

Dan

> On 11/6/06, Erik Blankinship <erikb at mediamods.com> wrote:
>         Thanks for the warning about cairo's text rendering. 
>         
>         Could you please send a reference to how to use pangocairo
>         with pycairo?  I think that would be helpful for everyone on
>         this list who might use text in their application. 
>         
>         Erik
>         
>         
>         On 11/6/06, Behdad Esfahbod <besfahbo at redhat.com> wrote:
>                 On Fri, 2006-11-03 at 17:27 -0500, Erik Blankinship
>                 wrote:
>                 > Hello
>                 >
>                 > If I want to use the system font in my cairo
>                 context, where do I find
>                 > the font file to load in?
>                 
>                 NEVER EVER use cairo's text rendering capabilities to
>                 render any text. 
>                 Not in olpc at least.  Use pangocairo ALL THE TIME.
>                 
>                 And for families, like others suggested, use
>                 "sans-serif", "serif", and
>                 "monospace".
>                 
>                 
>                 > Thanks,
>                 > Erik
>                 
>                 --
>                 behdad
>                 http://behdad.org/
>                 
>                 
>         
>         
> 
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar



More information about the Sugar-devel mailing list