Operating System - HP-UX
1838135 Members
3279 Online
110124 Solutions
New Discussion

Re: Install Open type fonts - hpux 11.11

 
Tim Medford
Valued Contributor

Install Open type fonts - hpux 11.11

Does anyone know if hpux 11.11 (rp5470) supports otf fonts? There are a number of ttf fonts installed in /usr/lib/X11/fonts/ms.st/typefaces, but I don't see any otf.

I've followed these instuctions from an eariler post (by Colin Topliss). Everything seems to work, but the fonts do not end up getting added to the fonts.dir file.

Previous Post:

To install font on HP-UX:

Locate your ttf (from Windows or where-ever) and FTP it to the UNIX server. Ensure that the filenames of the transferred files are in lower case only.

Create the following (if they do not exist):
/usr/lib/X11/fonts/ms.st/licenses root:sys 555
/usr/lib/X11/fonts/ms.st/products bin:bin 555
/usr/lib/X11/fonts/ms.st/typefaces bin:bin 555

If the parent directory ms.st did not exist then edit the file /etc/X11/fs/config and add the path /usr/lib/X11/fonts/ms.st to the "catalogue" variable:

catalogue = /usr/lib/X11/fonts/ms.st,/usr/lib/X11/fonts/type1.st,/usr/lib/X11/fonts/hp_roman8/75dpi/
,/usr/lib/X11/fonts/iso_8859.1/100dpi/,/usr/lib/X11/fonts/iso_8859.1/75dpi/,/usr/lib/X11
/fonts/hp_kana8/,/usr/lib/X11/fonts/iso_8859.2/75dpi/,/usr/lib/X11/fonts/iso_8859.5/75d
pi/,/usr/lib/X11/fonts/iso_8859.6/75dpi/,/usr/lib/X11/fonts/iso_8859.7/75dpi/,/usr/lib/X1
1/fonts/iso_8859.8/75dpi/,/usr/lib/X11/fonts/iso_8859.9/75dpi/,/usr/lib/X11/fonts/misc/
,/usr/dt/config/xfonts/C

Copy the font into the typefaces directory (bin:bin 444)
From the ms.st directory, type:
stmkdirs typefaces
This will generate a new fonts.dir file in the typefaces directory.

Don’t forget to shut down/restart xfs
/sbin/init.d/xfs stop
/sbin/init.d/xfs start

Look to see if the fonts installed are now available from the X-Font server:

polo:/usr/lib/X11/fonts/ms.st=> fslsfonts -server localhost:7000 |grep -i tahoma
-ms-tahoma-bold-r-normal--0-0-0-0-p-0-hp-roman8
-ms-tahoma-bold-r-normal--0-0-0-0-p-0-iso8859-1
-ms-tahoma-bold-r-normal--0-0-0-0-p-0-platform.1-specific.0
-ms-tahoma-bold-r-normal--0-0-0-0-p-0-platform.3-specific.1
-ms-tahoma-medium-r-normal--0-0-0-0-p-0-hp-roman8
-ms-tahoma-medium-r-normal--0-0-0-0-p-0-iso8859-1
-ms-tahoma-medium-r-normal--0-0-0-0-p-0-platform.1-specific.0
-ms-tahoma-medium-r-normal--0-0-0-0-p-0-platform.3-specifi

3 REPLIES 3
OldSchool
Honored Contributor

Re: Install Open type fonts - hpux 11.11

According to the man page, stmkdirs only supports TrueType (.ttf), Type 1 (.pfa) and Intellifont (.ifo) fonts, and Intellifont is being obsoleted.

Appears that it can't be done, at least that way
OldSchool
Honored Contributor

Re: Install Open type fonts - hpux 11.11

As a side note...Adobe's introduction includes the following statement:

"... main benefits of the OpenType format are its cross-platform compatibility (the same font file works on Macintosh and Windows computers), and ..."

No mention of X-windows / Unix
Tim Medford
Valued Contributor

Re: Install Open type fonts - hpux 11.11

Thanks for the info. In the meantime I've contacted technical support at both HP and Adobe.

HP does not support .otf and has no plans to. Adobe produces only post script, open type fonts and has no plans to make ttf available.

Case closed.