[OpenJDK 2D-Dev] <AWT Dev> Antialiasing of fonts without Gnome or KDE

Anthony Petrov anthony.petrov at oracle.com
Tue Apr 24 13:02:23 UTC 2012


I'm CC'ing 2d-dev@ and BCC'ing awt-dev@ because fonts rendering is 
handled by Java2D team.

--
best regards,
Anthony

On 4/23/2012 8:08 PM, Christophe Garion wrote:
> Hello,
> 
> First of all, I am sorry if this is not the right list to post on. I am
> using a "non standard" WM (Xmonad) without Gnome or KDE. Although I have
> set the Xft.antialias property in my ~/.Xresources config file,
> antialiasing is not taken into account.
> 
> Of course, I could set the _JAVA_OPTIONS environment variable to
> -Dawt.useSystemAAFontSettings=on to turn on antialiasing, but in this
> case, there is a log message (Picked up _JAVA_OPTIONS:
> -Dawt.useSystemAAFontSettings=on) on stderr which can confuse for
> instance Ant.
> 
> It seems to me that OpenJDK use gnome-settings-daemon (or KWin) to
> determine if antialising is on. Could it be possible to use for instance
> xrdb to determine if antialising is required? It seems also to me that
> if Gnome settings set antialising, xrdb detects it.
> 
> Of course, this is a naive question, as I do not have any patch to
> propose for the moment.
> 
> Thanks,
> 
> Christophe
> 



More information about the 2d-dev mailing list