# Java-based GUI Runs with Pixelated Fonts

### Symptom <a href="#java-basedguirunswithpixelatedfonts-symptom" id="java-basedguirunswithpixelatedfonts-symptom"></a>

* You are starting SID-Refresh™ on Linux/Unix with the Java-based GUI and the text fonts are pixelated.

![Figure 1a: Sample Pixelated Text Fonts in SID-Refresh GUI](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FIIZHKOl9Bxkt77L4HFKP%2FPixelated%20Text%20Fonts%20in%20SID-Refresh%20\(1\).png?alt=media\&token=abb556c9-d614-44fd-b6d2-12a07b52feef)

![Figure 1b: Sample Pixelated Text Fonts in SID-Refresh GUI](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2Fo0kG33Who3mrLXCfaeGm%2FPixelated%20Text%20Fonts%20in%20SID-Refresh%20\(2\).png?alt=media\&token=59c9a3c5-51cf-4e71-b779-1534b565cd78)

### Environment <a href="#java-basedguirunswithpixelatedfonts-environment" id="java-basedguirunswithpixelatedfonts-environment"></a>

* Linux/Unix Systems

### Cause <a href="#java-basedguirunswithpixelatedfonts-cause" id="java-basedguirunswithpixelatedfonts-cause"></a>

* 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 <a href="#java-basedguirunswithpixelatedfonts-resolution" id="java-basedguirunswithpixelatedfonts-resolution"></a>

* Set on the command line as of the specified value to control rendering hints used by Swing text:&#x20;

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

![Figure 2: Setting System Font on Linux/Unix Systems](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2F8rUmH8N6ZWTFMXzPoXP1%2FSetting%20System%20Font%20on%20LinuxUnix%20Systems.png?alt=media\&token=86f624bd-7713-4fdf-8604-c433305a4a6c)

![Figure 3a: Improved Text Font in SID-Refresh™ GUI After Resolution](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FgSMpW77p37uCTTxzUCpo%2FImproved%20Text%20Font%20in%20SID-Refresh%20\(1\).png?alt=media\&token=3d72f45b-ccfb-48bf-967a-6aa2dde8f78a)

![Figure 3b: Improved Text Font in SID-Refresh™ GUI After Resolution](https://377464071-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXhp08OmU8050PePmMgDt%2Fuploads%2FJPSWH0aAnlAFBTaRl8l0%2FImproved%20Text%20Font%20in%20SID-Refresh%20\(2\).png?alt=media\&token=754350ee-7b5d-4f11-b132-adb913d5fecf)
