[Xcircuit-dev] Re: xcircuit colormap err
Eric Y. Chang
ericc at alumni.caltech.edu
Tue May 14 20:35:46 PDT 2002
Hi Tim. Do you need any help or investigation on this matter? Of
course, my system does not have the LookupColor bug, but I can
easily retrigger the limited color table size problem. How does
removing the line help the case in which the pixel value that
comes back from LookupColor is bogus? I first thought that the
color table generation routine had problems, but it is in fact what
saved the day when the colors were limited.
Eric
>Dear Eric,
>
>> The second thing that worked is to just revert the Cvt routine.
>
>Now I'll have to find a way to resolve the differences between the
>old and the new versions of Cvt...
>
>> Obviously, the line was taken out for a reason, but I cannot figure out
>> why. If there is a non-zero return code, .pixel should still be set, or
>> else who knows what its value will be.
>
>There is at least one system out there where LookupColor returns a
>completely bogus value in .pixel. It looks to me like a server error.
>Now I'm stuck with the problem that getting around the sever error
>breaks the code on systems with properly-working X servers. I may
>be reduced to adding it as an ugly compile-time switch.
>
>Thanks for checking out the bug fix suggestions and reporting back.
>
> Regards,
> Tim
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth at sourceforge.net
_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcircuit-dev
More information about the Xcircuit-dev
mailing list