[PATCH 08/31] os: _X_UNEXPORT

Adam Jackson ajax at nwnk.net
Fri Dec 2 13:09:13 PST 2011


On 12/2/11 3:33 PM, Alan Coopersmith wrote:

>> -extern _X_EXPORT int set_font_authorizations(
>> +extern int set_font_authorizations
>
> That's another one that libXfont calls back to for font server setup.
> (Would be nice to have a proper callback API instead of just weak
> symbols and lazy linking, but that's what we've got for now.)

Honestly my plan for libXfont is to copy it into its users, or at any 
rate into xserver.  There's a big pile of ugly that falls away if you 
do.  My issue is sequencing it, because there's some other xfont work 
I'd like to see happen first.  Primarily, the handrolled bitmap support 
should die, wholly replaced by freetype.  My issue in doing that before 
was wiring it up to the built-in font support, which shouldn't actually 
be hard, just not something I ever got round to.

The other nice bit of optimisation you can do after that is fold a copy 
of xtrans into the server, and then chop away all the layering around that.

- ajax


More information about the xorg-devel mailing list