[cairo] text measuring speed

Keith Packard keithp at keithp.com
Sat Jun 11 01:14:36 PDT 2005


On Fri, 2005-06-10 at 22:24 -0400, Jon Smirl wrote:
> I haven't really be following all of this, but why are you always
> measuring one glyph extent at a time? If you measure strings
> freetype/pango will take into account kerning pairs allowed by the
> truetype font. With kerning pairs the sum of the individual glyph
> extents won't equal the extent of the string.

This code lives beneath pango, which is precisely why I expect to see
requests to measure a single glyph at a time.

-keith

-------------- 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/20050611/35aad0c3/attachment.pgp


More information about the cairo mailing list