[cairo] Freetype to Cairo - newb needs help

Carl Worth cworth at cworth.org
Tue Oct 23 13:43:10 PDT 2007


On Tue, 23 Oct 2007 22:35:14 +0200, Donn wrote:
> Would I have a good argument (or not?) when I say:
> 1. Part of Cairo wraps Freetype (to a certain extent) already.
> 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.
> ?
>
> Only seems logical to me. I hope this thread helps that a little.

It absolutely is logical.

Bindings are only useful to the extent that they provide the full
functionality of cairo.

Now, sometimes there are cases where it is not immediately practical
to provide complete cairo bindings. For example, cairo has interfaces
to create a surface for an Xlib object such as a Pixmap. These
cairo-xlib interfaces are part of cairo and it would be useful to have
them available in bindings. But there's a prerequisite there that
there exist bindings for Xlib as well, (so that the application can
create the equivalent of the Pixmap to use the cairo-xlib interface).

The situation with Freetype is likely very similar to the situation
with Xlib. (And I don't know if either currently have
readily-available bindings in python.)

-Carl

PS. Frankly, from my point of view, (and having watched the
machinations on this thread), it seems that the pain of "bindings not
quite complete" can more than outweigh any benefits of not just coding
in C in the first place.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20071023/97dea945/attachment.pgp 


More information about the cairo mailing list