[cairo] User font feature

Keith Packard keithp at keithp.com
Sun Apr 9 23:04:25 PDT 2006


On Mon, 2006-04-10 at 01:16 -0400, Behdad Esfahbod wrote:

> Maybe I was not clear.  A user-font *is* this higher-level
> library.  I'm saying that cairo should take a text-to-glyph
> callback instead of unicode-to-glyph, such that the user-font can
> do kerning, ligatures, etc.  Of course that function will only be
> used with the toy API.

Seems like you're investing a lot more utility in these user fonts than
I; I imagine any application capable of generating custom fonts will be
able to deal with the unicode->glyph mapping all on its own, along with
layout issues that this entails. But, I guess the canonical text->glyph
conversion in cairo is string based, so we might as well preserve that
here.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060409/a2183824/attachment.pgp


More information about the cairo mailing list