Fonts in Java based application in Xfce

Misu Moldovan dumol at home.ro
Thu Feb 3 11:17:39 CET 2005


jan wrote:
> Hi,
> 
> It might be OT, cause this is not directly related to Xfce.
> 
> == The problem ==
> In work i'm using one Java based application. If i'm using it from
> Windows - fonts have appropriate size. However, while using it from
> within Linux - the application, fonts appears to be very small. (Yes, I
> do have Microsoft fonts installed.)
> 
> I got surprised when I upgraded to Xorg 6.8 the fonts in mentioned
> application got bigger, and I could stay with Linux and Xfce :) and
> work. 
> 
> Today, I gave back external monitor to one of my colleagues and fonts in
> mentioned application got small again .....
> 
> I tried to play with:
> /etc/xdg/xfce4/xinitrc and chnge Xft.dpi: 96 to other value but it
> affects only GTK based applications.
> 
> any idea what migh happened ?
> 
> Thanks a lot for any advice.
> 
> Jan

Just a hint: Java apps use by default the fonts that come with the java 
runtime environment. Eg. I gave a jre installed in /opt/SUNJava2-142 and 
the fonts are in /opt/SUNJava2-142/j2re1.4.2_06/lib/fonts/ .

--
Misu





More information about the Xfce mailing list