[cairo] [PATCH] scaled-font: optimize cairo_scaled_font_text_to_glyphs()
cu
cairouser at yahoo.com
Fri Jun 11 17:38:42 PDT 2010
We use "toy" text API extensively on all platforms where it is
infeasible to add font faces directly (i.e. use FreeType while avoiding
the fontconfig). Please don't make it any slower than it is.
It already became much slower when the font lookup that was cached
started being made on every single font selection (terrible decision,
that necessitated our own higher level cache). Deoptimizing a commonly
used API seems to be unproductive.
(And please for the love of all that's good do not suggest Pango).
--Mike
Behdad Esfahbod wrote:
> Now that I think about it, isn't that function only called in the toy text
> path? In that case I suggest removing any optimization from it. No one
> should be calling the toy text api anyway.
>
> behdad
>
>
More information about the cairo
mailing list