[cairo] Funky text metrics

Jamie Guinan guinan at bluebutton.com
Tue Dec 21 15:05:46 PST 2004


On Sun, 19 Dec 2004, Keith Packard wrote:

> > autoimport Cairo;
> > cr = new ();
> > set_font (cr, "sans-12")
> > set_matrix (cr, (matrix_t) { { 0, 1 }, { -1, 0 }, { 0, 0 } });
> > current_font_extents (cr)
> {ascent = 0, descent = 0, height = 0, max_x_advance = 0, max_y_advance = -16}

What language/interpreter is that?

Curious,
-Jamie



More information about the cairo mailing list