And now about a rather unusual use of this tool.
Font rendering is a lot better now on Linux than it was few years ago. Unfortunately font rendering in/for Swing applications still looks poor. In order to improve things people launch such applications using special flags, like:
java -Dswing.aatext=true -Dawt.useSystemAAFontSettings=on ....But doing that for each application in part is booooooring! If only there would have been a way to set those properties system-wide... Well there is!
sudo java -jar jpui.jarthen create under System a new node swing and then create under swing a new attribute aatext and set it to true. And then do the same for -Dawt.useSystemAAFontSettings=on
You need to be root because (at least on Ubuntu and for latest, straight from Oracle, Java) the preferences are saved under /etc/.java/.systemPrefs/.
Enjoy!


No comments:
Post a Comment