Swing fonts in Linux

Although JDK fonts have improved with time I don't like them that much, I'm afraid. I always prefer bigger fonts. Better for your eyes, I think.

I prefer using some other fonts. For instance Microsoft TrueType fonts. Or even OpenOffice fonts. Many Linux distributions allow you to easily import extra fonts to your desktop.

Once you set up your preferred fonts in your system you can enable them for use in your preferred Java application. Just

export JAVA_FONTS=/usr/X11R6/lib/X11/fonts/Microsoft:/usr/X11R6/lib/X11/fonts/Type1:/path_to_font_directories

before your java command line. And you are all set!

Comentarios:

Can you post a screenshot of the results? That would make more people go through the process of installing new fonts and then having Java point to them.

Enviado por Moazam en junio 15, 2004 a las 12:26 PM CEST #

Sometimes (unsigned Java Web Start) you can't set System properties. Here is a link that shows how to set up Java to have access to all of your fonts no matter how Java starts up: http://www.scheduleworld.com/i18n.html

Enviado por Mark Swanson en junio 17, 2004 a las 12:08 PM CEST #

Enviar un comentario:
Los comentarios han sido deshabilitados.
About

swinger

Search

Archives
« abril 2014
lunmarmiéjueviesábdom
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Hoy