[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] Fonts dpi in Linux Gnome
From:       Phil.Race () Sun ! COM (Phil Race)
Date:       2008-10-16 11:44:10
Message-ID: 48F7290A.6080201 () sun ! com
[Download RAW message or body]

I think you are just seeing rounding to integral pixel sizes.
If you go into the Swing GTKLookAndFeel.java class you'll find a comment 
on this.

-phil.

Jihed Amine Maaref wrote:
> Hi,
> Using Gnome, Java applications running with openjdk do not scale fonts 
> according to the dpi (dots per inch) value except for some limited 
> values. For example, fonts are rendered exactly the same way from a 
> dpi of 90 going to a dpi of 97 (only changes for dpi=89 and dpi=98), 
> this makes them look ugly and not proportional to the other desktop 
> applications font. It this a known bug we're working on or is there 
> already a way to configure fonts in openjdk to fix this ?
> Thanks and congratulations for this very welcome project.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic