Re: commit -- RedHat 6.0 (bug 425) fix (?)
Shaw Terwilliger (sterwill@postman.abisource.com)
Sun, 30 May 1999 12:24:16 -0500
On Sun, May 30, 1999 at 09:28:47AM -0600, Matt Kimball wrote:
> 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?
I haven't actually seen all the changes to the XLFD stuff working with
my X server. I guess I can't complain if it's solving a problem for
you. I'll try out the changes on the few X servers I have access
to, but since I haven't ever had the problems described here, I don't
expect to have any now. :)
--
Shaw Terwilliger
This archive was generated by hypermail 1.03b2.