[cairo] problems with text rendering, 1.6.4

Chris Wilson chris at chris-wilson.co.uk
Fri Apr 25 04:29:20 PDT 2008

On Fri, 2008-04-25 at 09:05 +0100, Chris Wilson wrote:
> On Thu, 2008-04-24 at 22:18 -0400, Tamas K Papp wrote:
> > I read the mailing list archives and have seen cairo-trace mentioned.
> > I run it as directed, but only get the following output:
> > 
> > cairo_ps_surface_create (0x8080cb0, 500, 500) = 0x8085ce0
> > failed to lookup 'cairo_surface_t' pointer [0x8085ce0]FT_Open_Face
> > (path=/usr/share/fonts/truetype/msttcorefonts/Arial.ttf, 0) = 0x80895e0
> > 
> > and nothing else.  There is a /var/lib/cairo-trace/sbcl.5965 created,
> > it is 3 bytes long.  Is this how cairo-trace is supposed to work?

I've updated cairo-trace to wrap the vector backends (but not yet added
the replay support).

I've also added a script to simplify tracing,
$ ./cairo-trace /path/to/program
will print the cairo calls to stdout and save a trace file
in ./program.$pid. Note that this script has hard-coded relative paths,
so it needs to be run from the cairo-trace build directory. (This
utility will mature eventually!)

Hope this helps.
Chris Wilson

More information about the cairo mailing list