Operating System - HP-UX
1835177 Members
2217 Online
110077 Solutions
New Discussion

Re: X Terminal Fonts using CDE

 
Klaus Crusius
Trusted Contributor

X Terminal Fonts using CDE

Hi,

I recently moved our development platform to a L1000 with HP-UX11.0 . We have one X terminal HP 700/RX (A1097C) in our network. When running under CDE, it shows very poor character fonts for all purposes.
How can I find out which fonts are required to show a clear view?

Klaus
There is a live before death!
8 REPLIES 8
Alex Glennie
Honored Contributor

Re: X Terminal Fonts using CDE

- -------------------------------------------------------------
F) Making the CDE fonts available to X-Terminals
- ------------------------------------------------------
The simple solution to this problem involves configuring and
running a font-server on the system which is running CDE and
forcing the font server into the X-Server (X-Terminal) font-path.

To do this a few things are required:

1 - The font server needs to be configured to include the CDE
fonts in its catalog

EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the
"catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable: "RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and
restart it.

2 - Force CDE to add the font-server to the X-Server font-path
by editing the Xsetup file. (NOTE: This steps REQUIRES
the IP address of the CDE session server. You can get
this information by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to /etc/dt/config/Xsetup
EDIT: /etc/dt/config/Xsetup

Add the following line to /etc/dt/config/Xsetup replacing
"IPADDRESS" with the IP address of the server as returned
from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null


Then add the tcp/IPADDRESS:7000 to the font path head of the xterminal : configurable by either the setup/config gui on the xterminal or vi'ing its remote config file (xterminalname.cfg).
Klaus Crusius
Trusted Contributor

Re: X Terminal Fonts using CDE

Alex,

following your instructions, it still did not change.
xset q shows "/usr/lib/X11/700X/fonts/hp_roman8,tcp/134.46.70.12:7000,/etc/dt/config/xfonts/C, ...."

xlsfonts prints lots of fonts, including 390 different lines starting with "-dt- ...". (most lines seems to be duplicate).
There is a live before death!
Alex Glennie
Honored Contributor

Re: X Terminal Fonts using CDE

1. OK Try starting stylemanager from CDE's front panel.
=> fonts select a different font size :
start a dtterm does the change make any diffence ?

If yes : the xterminals are using CDE fonts I suspect : in which case you might like to try choosing a different monitor / screen resolution ?

If no : run remsh get errors & remsh get config ? grep -i fonts ? & grep -i config ?

Define clear view or rather what you are seeing are fonts all that's affected ? what apps/ guis affected ?
Klaus Crusius
Trusted Contributor

Re: X Terminal Fonts using CDE

Alex,
the font sizes are changing, when the setting in style manager are made.
The screen resolution is 1280x768 and cannot be changed.
The appearance of the glyphs is bad readable. That is true for for the CDE applications (e.g. style manages) and (more important for me)in the dtterm and HPterm emulations).
To describe the situation in a dtterm with fonts of 11.5 point: the lines of all glyphs are fading, that means, their thickness seems to vary within a letter. In letter "W" the lower pins are not shown at all at certain positins on the screen. That varies, if I move the frame containing the dtterm.
Smaller font sizes are simply not readable. The situation is clearly worse that under VUE.
There is a live before death!
Klaus Crusius
Trusted Contributor

Re: X Terminal Fonts using CDE

screen resolution is 1280x1024 :)
the symptoms show up also on the CDE login dialog, not on the blue screen appearing after log in.
There is a live before death!
Alex Glennie
Honored Contributor

Re: X Terminal Fonts using CDE

whats the output from remsh xterminalname get fonts grep -i .... if the tcp entry is not at the HEAD of the font path try adding it to the head ?

Whats in the Xterminals log file ? is it complaining about fonts ?

How about the Xserver : check /var/dt/Xerrors ?

Maybe worth running dr_dt but I don't it will unearth anything .... say this xterminal it's not running CDe locally ? ie using a flash dimm card at all ?
Klaus Crusius
Trusted Contributor

Re: X Terminal Fonts using CDE

Xerrors does not complain (after I changed Xsetup).
the remsh .. get only issues the error message "ftpd: no such file or directory".

I put "xset fp tcp/..." in Xsetup. Nevertheless the font path looks like /usr/lib/X11/700X/fonts/hp_roman8/75dpi,tcp/134...:7000

I cannot find any terminal log file.
CDE is not running as a local application on the xterminal, there is no flash dimm.
There is a live before death!