Operating System - HP-UX
1829742 Members
1293 Online
109992 Solutions
New Discussion

How can I fix Java 1.2 fonts?

 
SOLVED
Go to solution
David Trusty
Frequent Advisor

How can I fix Java 1.2 fonts?

Hi,

I am working on a project
which uses Java 1.2.

When I run my application
under Linux, the fonts look
correct, but under HPUX 11,
they look incorrect (too big).

I saw some indications in
deja newsgroups that the
font.properties file needed
to be modified.

I have three questions:

1. Is this problem fixed in
Java 1.3?

2. Is there any way I can test
a private copy of the
font.properties file without
having an administrator
install one in the official
Java JRE?

3. If I want to install my
own private copy of the Java
1.3, can I do it without
having to get an administrator
to do it with root permission?

Thanks!!

David
1 REPLY 1
Alex Glennie
Honored Contributor
Solution

Re: How can I fix Java 1.2 fonts?

David,

I'm no java guru in fact I don't know much about it but .....

1. I suspect not.
2. I dont think so
3. No as you would need access to swinstall.

However I know a bit about X, since there's obviously differences between fonts on the hpux and the linux systems my advise would be to setup xfs (see man page on linux system) to serve its fonts to the hpux system.

on the hpux system running the following "xset fp+ tcp/IPADDRESS:7100" where IPADDRESS = linux system and where 7100 is the port number on the linux system font server. then try your java app.

points to note after discussion with our java guru :

He beleives you would be wise to install java 1.3.1 , its faster and resolves a lot of known problems, together with the latest java patches : see http://www.hp.com/go/java & the latest Xserver, CDE and Xclients patches for your O/S as these will also provide new fonts/ resolve some of the known issues with java applications etc.