#108 Font rendering differences with java 6

closed-invalid
nobody
Editor (71)
5
2010-07-12
2010-07-12
No

Java 6 renders the default fixed font differently than 1.5. It's not a J bug per se, but not being a Java developer myself I'd love to know if there's a way of using Java 6 with the older font. Not being able to do so will mean I'll be stuck with 1.5.

I am attaching two screenshots that show the differences: both were taken on the same machine (Ubuntu Lucid with system wide AA turned off) using the same prefs file, where no font was specified for the editing pane.

Discussion

  • Ludovico Magnocavallo

    As I wrote above, it has nothing to do with J, and everything to do with how Java 6 is packaged for Ubuntu: it turns out font properties are governed by /etc/java-6-openjdk/fontconfig.properties and the ugly DejaVu fonts are set there are defaults. Installing sun-java6-fonts and editing fontconfig.properties to use Lucida fonts instead of DejaVu brought back the old nicer fonts.

     
  • Ludovico Magnocavallo

    • status: open --> closed-invalid
     
  • Kevin Krouse

    Kevin Krouse - 2010-07-16

    I'm glad you found a workaround. In general, I've found that the Sun JDK works better than OpenJDK on Ubuntu.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks