Pretty much all other windows apps that render text, including this very browser window I am typing in, have no issues rendering text at whatever size and resolution whatsoever. How can one achieve such font rendering? Ive heard of native windows APIs like GDI and DirectWrite, but none of them can be easily accessed from java, and I couldn’t find a java api wrapper or anything either.
Ive tried rendering fonts in java with multiple methods, using native java (java.awt.*), generating a bitmap font, whatever I tried nothing works. Ive tried an example from another stackoverflow post, where, in an answer, all examples look quite good, but not on my screen.
screenshot, all look terrible
In the screenshot, you can literally see how the window title right above it looks really good, but all of the text I am rendering looks terrible.
Is there anything I can do?
David is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.