2 ms·
Text rendering and transparency (not always together) torture me to often :( Quite recently I noticed that Java2D text rendering cheats the same way as Firefox
by Calzifer 3y ago
Text rendering and transparency (not always together) torture me to often :(
Quite recently I noticed that Java2D text rendering cheats the same way as Firefox and Chrome described in the overlapping example.
The character Ø can be expressed in Unicode in two ways. Either as single code point U+00D8 or as an O + combining slash (U+0338). Since the first one is one code point Java2D renders it correctly with transparency but the second variant as two characters with notable overlap since Java is lazy on the 'combining' part.