Operating System - HP-UX
1830845 Members
2598 Online
110017 Solutions
New Discussion

Re: Installing Fonts on UP-UX for Oracle Reports

 
SOLVED
Go to solution
Francesco_13
Regular Advisor

Installing Fonts on UP-UX for Oracle Reports

Hi,
i'm try to install demo version of Code 128 barcode fonts . From this URL:
http://www.idautomation.com/fonts/tools/oracle/fonts-on-unix.html

but when tell me :
Make the necessary changes to the "fonts.dir" by adding a line.

I don't know wich fonts.dir it's the correct. We are various in my HP-ux.

Any idea of this?

Thanks
best regards.
8 REPLIES 8
Colin Topliss
Esteemed Contributor
Solution

Re: Installing Fonts on UP-UX for Oracle Reports

These are the instructions I used for adding fonts - this may point you in the right direction. I was working on tahoma fonts - substitute your font name where applicable.

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/75dpi/,/usr/lib/X11/fonts/iso_8859.6/75dpi/,/usr/lib/X11/fonts/iso_8859.7/75dpi/,/usr/lib/X11/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
TwoProc
Honored Contributor

Re: Installing Fonts on UP-UX for Oracle Reports

Great posting Colin. Very Useful. Thanks.
We are the people our parents warned us about --Jimmy Buffett
Francesco_13
Regular Advisor

Re: Installing Fonts on UP-UX for Oracle Reports

Thanks!
Deepak Pushkarna
New Member

Re: Installing Fonts on UP-UX for Oracle Reports

Hi Frnacesco,

I have a similar Problem while installing Barcode 39. I have tried the procedure u have given. But I am getting Memory Fault(Core Dump) Error while running command-- stmkdirs typefaces in ms.st directory.

Please suggest me.

Thanks
Dennis Handly
Acclaimed Contributor

Re: Installing Fonts on UP-UX for Oracle Reports

>Deepak: I have a similar Problem ...

You should create a new thread if you aren't the original author. You can point to this one if that would explain your issue.

And especially if this is closed and has a solution.
NGUYEN LUAN
Occasional Advisor

Re: Installing Fonts on UP-UX for Oracle Reports

Hi
You can find in attached the procedure for install barrecode for Oracle reports
I did , it work well
Francesco_13
Regular Advisor

Re: Installing Fonts on UP-UX for Oracle Reports

thanks!
Bednarek
New Member

Re: Installing Fonts on UP-UX for Oracle Reports

Hello All,

I need help , because I can´t user xset or fslsfonts , can you help me ?