xalloccolor fails to return nearest match posted for a friend okay i looked through the faqs and didn t see this but i know its come up before xalloccolor is supposed to do the following in order try to find an exact match read only color cell within hardware limits try to allocate a read only colorcell and set it to match and when all else fails return the colorcell with the best match from the read only colors already allocated in the colormap this sounds good in theory it doesn t seem to work this way though if there is no exact match already in the colormap and no unallocated cells then xalloccolor fails even when it has already allocated several other cells already and there are dozens of read only cells already in the colormap is this a bug a feature a misunderstanding on my part any help appreciated noel ngorelic speclab cr usgs gov
