Highlighted

Turn on anti-aliasing in ICEBrowser

New Here ,
Jan 11, 2016

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.

ohj_icebrowser_vs_firefox_3.jpg

Many thanks for any help provided.

Topics

Single source layouts

Views

2.3K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Turn on anti-aliasing in ICEBrowser

New Here ,
Jan 11, 2016

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.

ohj_icebrowser_vs_firefox_3.jpg

Many thanks for any help provided.

Topics

Single source layouts

Views

2.3K

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Have something to add?

Join the conversation