• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Application Font On Linux  RSS feed

 
Henry Addo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a java application and when i
run on it linux the fonts looks ulgly and small
is there something i have to do on my linux system
I'm using ubuntu linux.Any idea on how i will make
the font of the application look better.
Thanx
 
Layne Lund
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure what you mean by "ugly and small". If you have access to some web space, you can take a screen shot, upload the picture there and give a link here, either with the URL or IMAGE UBB tags.

Also, what fonts are you talking about? If you mean the font used in JLabel or similar component, then you can change that with the setFont() method. I'm not sure if this will affect the font used in the title bar, though, if you use JFrame.setFont(). hmmm...

Layne
 
Davy Kelly
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Henry:

does your whole linux system have bad fonts, even on the internet, do they look nice, or do they look small and ugly?

I have just fixed this problem myself in my mandrake system, but I can only do it through the GUI not the command line.

I am currently on a windows partition, but I will log back in soon, to go over it step by step, or give you a link to a website that did it for me.

Davy

EDIT: Here is a link to how I fixed my font problem, admittedly it is for mandrake, but no doubt you will be able to install fonts, try windows fonts/true type fonts. then configure your desktop >look & feel > fonts in here if you have the opton to activate anti-alising, then do so, and untick the between range if you have this option.

[ March 21, 2005: Message edited by: Davy Kelly ]
[ March 21, 2005: Message edited by: Davy Kelly ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!