Operating System - HP-UX
1834351 Members
1955 Online
110066 Solutions
New Discussion

HPUX 10.20 Font Server for X

 
SOLVED
Go to solution
Charles Harris
Super Advisor

HPUX 10.20 Font Server for X

Dear all,

We are currently using a linux fontserver to provide true type fornts to one of our web machines used to generate HTML and associated GFX. Orders from on high demand the removal of linux and so I was wondering why it was used in the first place. Apparently X under HP doesn't support true type fonts ?! Is this true? and what steps would I have to take to transfer the linux fonts accross to HP (there is no FS running)?

Any tips hints or advice would be greatly appreciated!!

Cheers,


-ChaZ-
5 REPLIES 5
Charles Harris
Super Advisor

Re: HPUX 10.20 Font Server for X

HELP PLEASE!!!
Rick Beldin
HPE Pro

Re: HPUX 10.20 Font Server for X

10.20 and above do support TrueType fonts.

To start the font server, edit /etc/rc.config.d/xfs so that it will start on next reboot or run-level change. It starts at run-level 2.

To start it by hand:

/sbin/init.d/xfs start

Necessary questions: Why? What? How? When?
Kenneth Platz
Esteemed Contributor
Solution

Re: HPUX 10.20 Font Server for X

Charles,

Actually the HP-UX font server does support TrueType fonts. You will need to do the following steps to add the fonts to the font server:

1) Create a directory to hold the TrueType fonts:
mkdir /etc/X11/fonts/ttf

2) Copy your TTF font files into the /etc/X11/fonts/ttf directory

3) Build the fonts.dir file:

cd /etc/X11/fonts/ttf
stmkdirs +mocr

At this point you should have a fonts.dir file with the information about your TrueType fonts.

4) Create the fonts.alias file. This should have one entry:
FILE_NAMES_ALIASES

5) Edit /etc/X11/fs/config, and append the entry for /etc/X11/fonts/ttf to the "catalogue =" line.

6) Stop and restart your font server, via the commands:

/sbin/init.d/xfs stop
/sbin/init.d/xfs start

Now in order to reference the font server, you need to run the command:

xset fp+ tcp/:7000

where is the hostname of the fontserver system.

I think, therefore I am... I think!
Charles Harris
Super Advisor

Re: HPUX 10.20 Font Server for X

I'll reconfigure the server and give it a try! - It's supposed to work with gimp, but assuming X can deal with True Type's Gimp should work okay.

Thanks for the support!!!!!!



-ChaZ-
Charles Harris
Super Advisor

Re: HPUX 10.20 Font Server for X

In light of what has already been said, does anyone know if open type fonts are supported by HPUX X or of any freeware available to convert them ?

Again, any help tips or comments appreciated!!!



-ChaZ-