Patch: move XftDraw from frame to device

Jeff Sparkes jsparkes at gmail.com
Mon Jun 21 20:37:30 EDT 2010


According to a comment, the XftDraw structure also controls the caching of
Xft fonts.  Moving it from frame to device
makes the cache more effective, and reduces memory use because there's only
a single copy now, instead of one
per frame.

As a next step, I hope to replace the XftDraw with a Pango Xft renderer so
we can pango before the gtk work is finished.

-- 
Jeff Sparkes
jsparkes at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://calypso.tux.org/pipermail/xemacs-patches/attachments/20100621/9bf19f01/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xftdraw.patch
Type: text/x-patch
Size: 4780 bytes
Desc: not available
Url : http://calypso.tux.org/pipermail/xemacs-patches/attachments/20100621/9bf19f01/attachment.bin 


More information about the XEmacs-Patches mailing list