Operating System - HP-UX
1832864 Members
2815 Online
110048 Solutions
New Discussion

Re: Problem with displaying HTML pages

 
Sujata_1
Occasional Contributor

Problem with displaying HTML pages

Hi,
We have a Java html browser component. We have two HP-UX 11.0 machines. Both have JDK1.3 installed. We are facing a problem of displaying HTML pages on one machine. On one machine html pages look perfect, but on the other machine same page displays some texts overlapped. It almost looks like garbled texts. Both machines have HP CDE installed. Could you please tell me what could be the problem ? Is it a problem with CDE font settings ? How can I check the font setting for both the machines ?

Thanks,
Sujata.
5 REPLIES 5
Trent Bukowsky
Advisor

Re: Problem with displaying HTML pages

When you say java html browser do you mean Netscape or some other browser. HP with CDE ships with netscape by default.

If it is netscepe you have to try changeing the font sizes in your netscape preferences. Since one of your machines runs perfectly you can try the same settings or otherwise you will just have to keep adjusting the font sizes until it works. It is basically a trial and error method.

also it would help if enable the browser to use the fonts and sizes you have specified insted of document specific fonts.

Hope this helps.

Trent
Sujata_1
Occasional Contributor

Re: Problem with displaying HTML pages

We are not using netscape. We have a java program that display html pages. How can I check the current/default fonts on HP machines ? and if the font are different (may be size) then how can I change it ?

Thanks,
Sujata.
Wodisch
Honored Contributor

Re: Problem with displaying HTML pages

Hello Sujata,

have a look at both system's fonts settings with
xset -q

and compare the output for the "font path" specifications.

One might use a "font server", but the other not...
A "font server" is shown as something like
"tcp/NAME-OR-IP-ADDR:7000"

HTH,
Wodisch
Charles Slivkoff
Respected Contributor

Re: Problem with displaying HTML pages

The HP-UX font server on 11.0 provides a set of MS fonts, including Arial and Arial Black. I've seen cases where Arial Black gets loaded rather than Arial, thus make the text look "bold". The only workaround I've found is to remove the Arial Black font from the catalog by editing the fonts.dir file under /usr/lib/X11/fonts/ms.st/typefaces. Be sure to decrement the count on the first line as well as stop/restart the font server and X display server, as cacheing may take place.



Also, confirm that the latest available Java version is installed.



http://www.hp.com/go/java



Kiran_4
New Member

Re: Problem with displaying HTML pages

This turnout to be the jdk version problem. On one machine we have jdk1.3.0.01 installed where everything works fine. And on other machine we have jdk1.3.0.00 installed where problem shows up.

Kiran.