Around 11 o'clock on Jan 28, "Tim Roberts" wrote:

> In my view, rotated text is sufficiently uncommon that any non-trivial 
> optimization is not worth the effort.  If I draw a capital A at every angle 
> from 0 to 359 degrees, I would not be at all surprised to find the font file 
> reparsed 360 times.

Xft does optimize this case, but only because it's essentially identical 
to the common case of using the same font at multiple sizes.  The internal 
FreeType face object is shared among the related XftFont objects.

Avoiding the extra XftFont and XGlyphSet overhead would be rather 
complicated -- a single XGlyphSet would have to hold glyphs unique only in 
their transformation, which would complicate naming of those glyphs quite 
a bit.

Keith Packard        XFree86 Core Team        Compaq Cambridge Research Lab


_______________________________________________
Render mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/render

Reply via email to