[cairo] Freetype to Cairo - newb needs help

Behdad Esfahbod behdad at behdad.org
Tue Oct 23 13:36:08 PDT 2007


On Tue, 2007-10-23 at 16:35 -0400, Donn wrote:
> > It's not exactly trivial. The code below works for me. I'm not sure how
> > brittle it is.
> Well, heck! Thanks for that. I won't pretend I understand it at all, but I 
> sure have somewhere to start. :)
> 
> In terms of fragility -- how easy would this be to break on future upgrades of 
> pygtk/pycairo ? I mean, could I implement something like it in an app with 
> some confidence?
> 
> Would I have a good argument (or not?) when I say:
> 1. Part of Cairo wraps Freetype (to a certain extent) already.

No, this is not correct.

> 2. Cairo faces can be made directly from FT faces in c/c++
> 3. PyCairo wraps Cairo.
> Therefore:
> 4. Pycairo should also offer Python versions of the FT->Cairo functions.
> ?

It should, but there's no PyFreeType, that's why PyCairo doesn't do
that.

> Only seems logical to me. I hope this thread helps that a little.
> 
> /d
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759





More information about the cairo mailing list