[Cairo] Re: [PATCH] new virtualized font interface
graydon at redhat.com
Mon Oct 20 14:18:21 PDT 2003
Keith Packard <keithp at keithp.com> writes:
> Around 23 o'clock on Oct 19, graydon hoare wrote:
> > now it includes some simple iconv-based utf8 -> ucs2 -> glyph code,
> let's replace this part with hard-coded utf8->ucs4->glyph code;
ok. I've changed this to do what Xft does (call FcUtf8ToUcs4 in a
loop) and also moved the cairo_ft_font_t to a private type, as carl
suggested. now there's just cairo_font_t in the public header, and the
ft-specific functions fail when passed something of the wrong
type. updated patch attached. anything else?
> I'd like to also take a look at how to integrate the client-side FT
> code with Render accelerated text, the goal is to make these two
> paths share as much as possible.
sure, but this is a large issue, and I think one which ought to remain
mostly in the backend. the lazy part of me would like to at least get
the API change landed into your CVS, so others might help out with
making its implementation correct / optimal.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 60701 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20031020/e1bff528/cairo-new-font-model.patch.obj
More information about the cairo