bug in xfont xlfd rounding code
walter harms
wharms at bfs.de
Wed Jan 28 06:37:44 PST 2009
Dave Airlie schrieb:
> 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.
>
hi dave,
looks nice.
the code does not seem to be used often.
can you test what the speed penalty of using the general case is ?
re,
wh
More information about the xorg
mailing list