[sugar] sugar system font in cairo

Erik Blankinship erikb
Mon Nov 6 21:08:41 EST 2006


Thanks for the warning about cairo's font 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/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sugar/attachments/20061106/80b35709/attachment.html


More information about the Sugar-devel mailing list