I like how wxWidgets does antialiassing and subpixel rendering (https://en.wikipedia.org/wiki/Subpixel_rendering) on the screen. But there are 2 drawbacks:
- If an application claims not to be high-dpi-aware subpixel rendering doesn't lead to an object ending in the middle of a RGB pixel, but that it ends with one (or a few) red, green or blue pixels of the target system. This might be no problem as applications should be high-dpi-aware anyway and always look a little bit blocky if they aren't.
- And if I use wxMemoryDC in order to render an image subpixel rendering is still used - which is fine if I render things for my own screan. But if I render bitmaps for other systems this might lead to suboptimal results:
- On my screen Pixels begin with blue and end with red. Therefore a black line beginning in the middle of a pixel will begin with a red pixel and a black line ending in the middle of a pixel will end with a blue pixel.If this bitmap is then saved as .png and viewed on a screen with a different ordering this will lead to visible color seams.
- And if you use such a .png file at web resolutions the same will be true:
Thanks a lot,
and kind regards,