bug in xfont xlfd rounding code
Dave Airlie
airlied at gmail.com
Wed Jan 28 03:48:32 PST 2009
Hi guys,
Maybe someone understand wtf the code in
libXfont/util/fontxlfd.c:xlfd_round_double
is all about, but the results were different on different endian
machines due to the code
being hardcoded for little endian.
I reimplemented it for other endian, however I'm unsure about the
endian detect code on other OSes,
it just uses the autoconf macros.
Patch attached.
Dave.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xlfd.patch
Type: application/octet-stream
Size: 3489 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090128/56e2089e/attachment.obj>
More information about the xorg
mailing list