Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 2 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


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.