Re: commit -- RedHat 6.0 (bug 425) fix (?)

Matt Kimball (robozapp@xmission.com)
Sun, 30 May 1999 09:28:47 -0600


On Sun, May 30, 1999 at 10:08:22AM -0500, Shaw Terwilliger wrote:
> Yesterday I simply changed the XLFD for the getDefaultFont() to
> be very generic (something like adobe-helvetica-r-*-*-*-100-*-*-*-*...
> instead of adobe-helvetica-r-normal-*-*-[strict stuff]).

I saw that, but even with that change from you, it didn't solve the
problem. (For me at least). I now suspect it is because the
XAP_UnixFontXLFD class has several UT_uint32 members which are printed
as 0's in getXLFD. So, instead of requesting
"*-helvetica-medium-r-*-*-*-*-100-*-*-*-*-*-*", you'll be asking for
"*-helvetica-medium-r-*-*-*-0-100-0-0-*-0-*-*" because you are using
g_snprintf for those numeric fields. Perhaps a better fix would be to
fix getXLFD to print '*' in the place of those zeroed out numeric
fields. Would you like me to remove my changes from yesterday, and do
this, or what?

-- 
Matt Kimball
mkimball@xmission.com


This archive was generated by hypermail 1.03b2.