Font display under Linux with Java Runtime

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


Net Llama! wrote:

>On Wed, 31 Mar 2004, James McDonald wrote:
>  
>
>>Hi Yall,
>>
>>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)
>>    
>>
>
>I'm guessing that you already tried reducing the font size in mozilla?
>Beyond that i think you're out of luck because the people who wrote that
>applet prolly only tested it with IE.
>  
>
Not until you mentioned it, but after putting the font size down to 
lower size in mozilla it appears that the java applet doesn't take 
settings from mozilla.

I think I need to find out how the system jre specifies default fonts 
and then how to change it to something smaller.

I have had this problem several times with java applets and always just 
accepted the bad rendering of fonts in text boxes and list boxes etc but 
now think it's just a configuration issue...

after all it's open source I should have the power to change it.




More information about the Linux-users mailing list