[cairo] Re: Glyph extents API

Keith Packard keithp at keithp.com
Mon Jun 13 14:09:56 PDT 2005

On Mon, 2005-06-13 at 20:21 +0000, Pete Shinners wrote:

> I'm completely unframiliar with this part of the API. But the first thing that
> jumps out at me is pair-kerning. The extent of "Wo" is not equal to "W" + "o"
> for many fonts.

cairo is not involved in layout; the multiple-glyph API simply unions
the bounding boxes for the glyphs together assuming they are set
adjacently using the default spacing for each letter.

Layout is done above the cairo layer by libraries like pango.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050613/6d08e176/attachment.pgp

More information about the cairo mailing list