Java-based GUI Runs with Pixelated Fonts

Symptom

  • You are starting SID-Refreshâ„¢ on Linux/Unix with the Java-based GUI and the text fonts are pixelated.

Figure 1: Sample Pixelated Text Fonts in SID-Refreshâ„¢ GUI (a)

 

Figure 2: Sample Pixelated Text Fonts in SID-Refreshâ„¢ GUI (b)

 

Environment

  • Linux/Unix Systems

Cause

  • The desktop setting you want isn't supported on your desktop (e.g., you want LCD text on Windows).

  • JRE doesn't recognize your desktop setting (e.g., KDE).

  • You are automating testing under each of these conditions.

Resolution

  • Set on the command line as of the specified value to control rendering hints used by Swing text:

java -Dawt.useSystemAAFontSettings=lcd -jar /Install/SIDRefresh.jar

 

Figure 3: Setting System Font on Linux/Unix Systems

Figure 4: Improved Text Font in SID-Refreshâ„¢ GUI After Resolution (a)

Figure 5: Improved Text Font in SID-Refreshâ„¢ GUI After Resolution (b)

 

  • No e-mail message is created after we create and send an e-mail in SO01. Transaction SCOT does not generate EMAIL messages.

 


Do you have a question about the content on this page? E-mail us at sidrefresh@itconductor.com.

Â