Roderick Colenbrander thunderbird2k@gmail.com writes:
The text color of a physdev is in 24-bit r8g8b8 independent of the depth, so make sure the picture format passed to get_xrender_color is also in this format. This prepares for dibsections with support in depths other than the screen depth.
This is wrong, the text pixel is in device-specific format. The color conversion functions that are used for the text pixel and similar variables need to be expanded to take into account multiple depths (not to mention DIB color maps...)