[Cairo] Re: [PATCH] new virtualized font interface

graydon hoare graydon at redhat.com
Sun Oct 19 20:20:00 PDT 2003


hi,

this is an update to the previous patch which added virtualized fonts
and client-side freetype rendering. now it includes some simple
iconv-based utf8 -> ucs2 -> glyph code, and can support the basic

  cairo_select_font (ct, "helvetica", 12.0,
                     CAIRO_FONT_SLANT_PLAIN, 
                     CAIRO_FONT_WEIGHT_PLAIN);
  cairo_show_text(ct, "hello world");

sort of client code.

comments? I've also attached a demo program which lets you twiddle
around the fontconfig settings, scale, rotation, etc.

-graydon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-new-font-model.patch.3
Type: application/octet-stream
Size: 59706 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20031019/734bf99c/cairo-new-font-model.patch.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cairo-text.c
Type: application/octet-stream
Size: 4916 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20031019/734bf99c/cairo-text.obj


More information about the cairo mailing list