|
From: | Fred Kiefer |
Subject: | Re: Text drawing bug - gaps after 16th character in scaled view |
Date: | Tue, 01 Jul 2003 00:47:43 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204 |
Alexander Malmberg wrote:
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 shortdoes 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
[Prev in Thread] | Current Thread | [Next in Thread] |