Article View: es.comp.os.linux.programacion
Article #13778Re: Java bajo Linux
From: Jordi Fernandez
Date: Thu, 18 Jan 2001 17:57
Date: Thu, 18 Jan 2001 17:57
49 lines
2744 bytes
2744 bytes
> El problema con el que me encuentro es que al ejecutar cualquiera de
> mis programas, en la consola me aparecen una "ristra" de alertas, como
> que no encuentra una fuente de Adobe. Posteriormente el programa
> funciona correctamente, aunque con unas fuentes diferentes a las de
> Guindows, lo cual tira un poco por tierra el "Look&feel" unico que uso
> (Metal).
>
> �Puedo instalar m�s fuentes en el sistema?
> �Cual es el problema?
Te copio la solucion que se da en la faq de JBuilder de Borland
(http://community.borland.com/article/0,1410,21836,00.html)
-------Question:
When I run JBuilder 3.5 on my Linux machine I get a series of errors
stating:
Font specified in font.properties not found
[--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
How can I fix this?
-------Answer:
These errors happen because the Java Virtual Machine (JVM) that is
running JBuilder can't find a font that has been specified.
The font that the JVM is looking for is "symbol.ttf". This font should
be available on any Windows machine. You need to get a copy of the font
and copy it to the JDK fonts directory, for example
"/usr/local/jdk1.2.2/jre/lib/fonts".
In the "fonts" directory there is a file named "fonts.dir" that lists
the available, scalable fonts for the Sun JDK. Edit this file (you may
need to be root) to include the symbol.ttf font file like:
symbol.ttf -urw-symbol-medium-r-normal--0-0-0-0-p-0-adobe-fontspecific
You may notice whitespace in the file after the other font names. Note
that these are spaces and not tabs. After you have added the above line,
increment the number on the first line of the file by one (to indicate
the total number of fonts listed in the file).
Run JBuilder to verify that the problem is fixed.
--------------------------------------------------------------------
Espero que te ayude.
Saludos.
Technical Details
Message-ID:
<3A672E9A.3A2D9A0A@telepolis.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.rediris.es!newsfeed.mad.ttd.net!news.mad.ttd.net!not-for-mailReferences:
<3A66D2EE.9080706@ono.com>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,73e70da8ac94b962 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2001-01-18 09:56:05 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.rediris.es!newsfeed.mad.ttd.net!news.mad.ttd.net!not-for-mail From: Jordi Fernandez <jordifm@telepolis.com> Newsgroups: es.comp.os.linux.programacion Subject: Re: Java bajo Linux Date: Thu, 18 Jan 2001 18:57:46 +0100 Organization: Telefonica Transmision de Datos Lines: 49 Message-ID: <3A672E9A.3A2D9A0A@telepolis.com> References: <3A66D2EE.9080706@ono.com> NNTP-Posting-Host: 213.96.47.120 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.0 i586) X-Accept-Language: en