Font display under Linux with Java Runtime

James McDonald james
Mon May 17 12:01:00 PDT 2004


Condon Thomas A KPWA wrote:

>James,
>
>  
>
>>I am using Linux Fedora Core 1 with Mozilla 1.4.1 and 
>>j2re-1.4.2_03-fcs
>>with a java based internet banking package.
>>
>>I am suffering from a font misalignment in the text boxes as 
>>shown here
>>http://www.jamesmcdonald.id.au/tmp/java-error.png. It appears 
>>as if the 
>>font is either too large for the text field or misaligned which makes 
>>the application almost unuseable under linux.
>>
>>Can any of you erstwhile list users point me in the direction of a 
>>fix/workaround? (i.e. is there some sort of jre parameters to 
>>fix it, I 
>>am NOT a java user in general)
>>    
>>
>
>There are several possible solutions if you were working with the code:
>
Sadly no I'm not it's a live bank site

>Now, if you are not working with the code, the most probable cause is that
>the specific font used in this box is not available to your JRE.  In that
>case it will use a default font type and size.  To fix this you need to
>install it where the JRE expects to find fonts, or to point the JRE font
>path to where the font is (if it is already on your machine).
>
>  
>
Which raises the question. How would I find out what font this internet 
application wants to use and how would I then put it in the right spot? 
I know about $JAVA_HOME/lib/font.properties but have no idea what to 
edit to get it to point to using a "windows" font(which I am assuming is 
what the jre needs instead of the default font it's probably using now)






More information about the Linux-users mailing list