Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In Natty, and maybe since Ubuntu is using the ambiance theme by default, it seems java applications have a problem with fonts.

This screen is easily reproducible by starting this webstart application and selecting the GTK look and feel.

The only exception is Eclipse which shows perfectly standard menu and fonts. Every other java application using ambiance through the GTK style shows this ugly rendering.

Is there any way to fix this ?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

TL;DR : You can't.

Eclipse uses swt which uses your native font rendering libraries and pretty much everything else uses Swing which does not.

share|improve this answer

The only workaround I found was changing "Application font" from Ubuntu/11 to Sans/10. BTW: For me, sans looks better than default ubuntu.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.