Yes, there must be a mismatch between the metrics reported by -xlib to -gui and the actual width of the glyphs when drawn. I'm not very familiar with -xlib's font code, but I had a quick look at it and fixed one fairly obvious bug that would cause incorrect metrics to be reported for non-latin1 fonts on big-endian systems. Does this apply to your system? If so, can you check if it works with latest cvs of -back?
The actual fix solves a problem on systems where
unsigned int == unsigned short
does not hold. I think that this is indendent of the endianess of the system (You rather expect it to fail on a 16 bit or 64 bit machine). Still it was a bug and it is great that you did resolve it.
Fred
_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep