1759707 Members
4126 Online
108886 Solutions
New Discussion юеВ

XFONTS for OpenView

 
Johnston Rob
Occasional Contributor

XFONTS for OpenView

Does anyone perhaps know of an RPM that will install the needed fonts to Export
the OPC process on a HPUX box to a Redhat 6.1 server? THe Redhat box is running
XFREE that ships with RH6.1.

Any help would be great.
3 REPLIES 3
user not active
Frequent Advisor

Re: XFONTS for OpenView

No I don't know a RPM, but wht not look into running xfs (font-server) on the
Unix box and serve fonts to the Linux system, both have X installed I presume ?
check man xfs.
Chuck Slivkoff
Frequent Advisor

Re: XFONTS for OpenView

HP-UX applications expect that fonts encoded in the HP-Roman8 character-set are
available. This is for internationalization purposes. There are 2 possible
solutions:

1 - Change the locale to one which uses ISO8859-1
character-set encodings:

user@linux $ rlogin hpux
user@hpux $ export LANG=C.iso88591
user@hpux $ export DISPLAY=linux:0
user@hpux $ nnm

2 - Make the HP-Roman8 fonts available to the Linux
X server:

There are 2 possible options:

A - Use a font-server:
Be sure that xfs is running on the HP-UX
server:

/etc/rc.config.d/xfs:
RUN_X_FONT_SERVER=1

/sbin/init.d/xfs start

Add the HP-UX font-server into your font-path:

user@linux $ rlogin hpux
user@hpux $ export DISPLAY=linux:0
user@hpux $ xset fp+ tcp/hpux:7100
user@hpux $ nnm

B - Copy the HP-Roman8 fonts to your linux system
and add them to your XF86Config file:

From the HP-UX system, copy the directory:

/usr/lib/X11/fonts/hp_roman8/75dpi

to your Linux system under:

/usr/X11R6/lib/X11/fonts/hp_roman8

Edit /etc[/X11]/XF86Config to include:

FontPath /usr/X11R6/lib/X11/fonts/hp_roman8

Restart your X server.

After making either of these changes, you should be able to list HP-Roman8
fonts using:

xlsfonts -fn "*-hp-roman8"
Albert Whale
Occasional Advisor

Re: XFONTS for OpenView

I read the Series with interest as I am also having a problem with the fonts to
be displayed.

I have a quick solution, (i.e. taking the Fonts from the HP UX fontserver), but
I would prefer to be able to host the Fonts Locally. The benefits from
performance issues using the fonsts on the local X Server is significant.

Here's my problem:

1.Chcuk indicated that you needed to edit the /etc/X11/XF86Config file to
include the statement FontPath /usr/X11R6/lib/X11/fonts/hp_roman8 directory.

In RedHat Linux 6.0 and above, you'll receive this notice in the Config file.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

FontPath "unix/:-1"


Which Makes sense, because the fonts can be administered with a separate tool,
called xfs.

Using this information I've attempted the following, editing the
/etc/X11/fs/config as such:

catalogue = /usr/share/fonts/ISO8859-2/100dpi,
/usr/share/fonts/ISO8859-2/75dpi,
/usr/share/fonts/ISO8859-2/Type1,
/usr/share/fonts/ISO8859-9/100dpi,
/usr/share/fonts/ISO8859-9/75dpi,
/usr/X11R6/lib/X11/fonts/cyrillic,
/usr/X11R6/lib/X11/fonts/100dpi,
/usr/X11R6/lib/X11/fonts/75dpi,
/usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/75dpi:unscaled,
/usr/X11R6/lib/X11/fonts/100dpi:unscaled,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/Type1,
/usr/X11R6/lib/X11/fonts/Speedo,
/usr/X11R6/lib/X11/fonts/hp_roman8,
/usr/share/fonts/default/Type1,


However, this does not work. Why? When I type

xlsfonts -fn "*-hp-roman8" I cannot find any fonts.

Does any one have any ideas?