[cairo] char* vs. unsigned char*

Keith Packard keithp at keithp.com
Mon Apr 4 09:59:26 PDT 2005


Around 9 o'clock on Apr 4, "Peter Dennis Bartok" wrote:

> Not sure it'll matter, but if font->family were ever to contain UTF8 chars 
> instead of just ASCII, wouldn't you need unsigned char *?

It already does contain UTF-8 chars, which is why fontconfig uses unsigned 
at present; it makes the code to extract UCS4 from UTF-8 less error prone.

-keith


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050404/1b0a122c/attachment.pgp


More information about the cairo mailing list