Copy link to clipboard
Copied
I have created a help system in RoboHelp and then output from RoboHelp in the Oracle Help for Java format. On using Oracle Help for Java to view html files under MS Windows in the default ICEBrowser, the fonts look ragged compared to viewing the same html files in Firefox or IE. It appears that anti-aliasing is not being used. How can I turn it on?
I found the following by googling:
"http://stackoverflow.com/questions/179955/how-do-you-enable-anti-aliasing-in-arbitrary-java-apps
If you have access to the source, you can do this in the main method:
// enable anti-aliased text:
System.setProperty("awt.useSystemAAFontSettings","on");
System.setProperty("swing.aatext", "true");
or, (and if you do not have access to the source, or if this is easier) you can simply pass the system properties above into the jvm by adding these options to the command line:
-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true"
Would it solve this problem if the arguments shown above were passed to ICEBrowser when OHJ launches it? If so, how could I do that? Below there is a screen shot with ICEBrowser on the right, and Firefox on the left.
Many thanks for any help provided.
Have something to add?