Font anti-aliasing: Processing 2 vs Processing 3


#1

Processing 2.0.3 produces very different font anti-aliasing compared to Processing 3. Top Processing 2, bottom Processing 2:
Sample

Can this be fixed in the code for Processing 2, so that it looks like Processing 3? Higher values for smooth(4, 8) had no noteworthy effect. I use CreateFont().

Background: I build Windows/Android versions with Processing 3 but MacOS/Linux versions with Processing 2.0.3, due to lack of support for MacOS-cross-compilation in Processing 3 and because Linux builds of Processing 2.0.3 work with slightly older Linux installations out of the box.