Sponsored Content
Operating Systems AIX AIX TrueType Fonts Installation Post 302407826 by kah00na on Friday 26th of March 2010 03:04:19 PM
Old 03-26-2010
FYI, IBM has no interest in helping people setup font servers. Especially if you are trying to use fonts that did not come from IBM. Since the font server route was not working out, I ended up going down the "convert ttf to pcf.Z" files route. Since AIX has no chance of doing this conversion in anyway that I have found, I turned to an Ubuntu box and figured it out.

First, on the Ubuntu box, you need to download the source code of freetype1_1.4pre.cvs20060210.tar.gz. After extracting it, you need to get "ttf2bdf" compiled. It requires a library file that, I believe, is also included in the package named "libttf".

Once ttf2bdf has been compiled, go to X11 & TrueType fonts and download the "iso*" files provided and the TTFall script to the same directory your compiled ttf2bdf file still on the Ubuntu box. Update the TTFall script by changing the following:
Code:
DIR=`pwd`
MAPS=./
FONTS=$DIR/ocraext.tff

Execute ./TTFall and you will get some ocr*pcf.gz files. Copy these to your AIX box and "gunzip *pcf.gz". Then, since AIX likes them in "pcf.Z" format, run "compress *pcf" and you will have them. Copy these files to where you need them, like $JAVA_HOME/jre/lib/fonts. "cd" to the same directory and run "mkfontdir" and check the fonts.dir file for the new "ocr a" entries.

This process worked for the OCR A fonts, but not for the Courier New fonts. I'll have to figure something else out for the Courier New.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

AIX Installation

I am in need some some simple... straight forward instructions for creating file systems on AIX. I have a raid controller and 4 18.2gb Hot Swap SCSI drives. I am sooooo confused about Volume Groups, Physical Volume, and Physical Partition, and Logical Volume and Logical Partitions. In a... (1 Reply)
Discussion started by: Docboyeee
1 Replies

2. AIX

aix installation

hey all I have ibm RS6000 WORKSTATION,iam new to aix i worked on sparc system,but dont know anything abt aix can some one guide me how to install aix 4.3.3 fresh installtion how the partition to be created how to start the installltion and finish it how to add new external hdd. plss osme one... (1 Reply)
Discussion started by: solaris8in
1 Replies

3. AIX

Need AIX 4.3.3 installation disk 1

This is a serious longshot but my system crashed and I need to bring it back up, I put my cd into the drive to boot and it does not work. I cannot find another copy anywhere (internet, friends, other companies, etc...). Apparently while trying to install the Veristas remote agent for unix I... (0 Replies)
Discussion started by: colb926
0 Replies

4. AIX

Installation of CUPS in AIX

Hi, In cups.org, it is said CUPS 1.1.9 adds support for AIX, adds several performance improvements to the scheduler, adds support for the Apache Include directive, adds new HideImplicitMembers and ImplicitAnyClasses directives, stores user-defined options as differences from the system-defined... (3 Replies)
Discussion started by: meeraramanathan
3 Replies

5. AIX

how to install fonts in AIX

Dear Friends, Please help me out to install fonts in AIX. I am new to AIX. Thanks in advance. Regards, dba (2 Replies)
Discussion started by: aix.dba
2 Replies

6. AIX

Adding own fonts in AIX

Hi I am new to AIX and want to install some fonts (in Indian Languages) created by us into the AIX server and we should be able to use these fonts in Mozilla and other user applications. There is no Info Print Manager. We have font files as PFB/PFM and TTF. Which is the best method to go... (0 Replies)
Discussion started by: mssridhar
0 Replies

7. AIX

Russian fonts not displaying in AIX PDF files

Hi, We have an issue with russian cyrillic fonts that are not displayed correctly in pdf when application works in AIX . The same russian fonts are displayed properly in windows machine. There are spaces between russian characters and also cyrillic fonts are overlapping in AIX... (3 Replies)
Discussion started by: jinto
3 Replies

8. AIX

AIX NIM installation

Could you please let me know, if it is possible to have NIM server running on one volume group and other applications like oracle running on other volume group. Do we need to have a dedicated server for only AIX NIM server?. I am new to AIX and planning to install NIM server on a test server. which... (3 Replies)
Discussion started by: saikiran_1984
3 Replies

9. AIX

AIX Fonts and Display issue

Hello Everyone, have a question regarding fonts: #env root@oraapp:/>env _=/usr/bin/env LANG=ar_AA LOGIN=root SSH_TTY=/dev/pts/1 PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:/u ... (2 Replies)
Discussion started by: filosophizer
2 Replies

10. AIX

How to find the details of Fonts on AIX?

Hi, Can someone help me out, how I can find the details of the Fonts installed on AIX, details such as the font type, directory, Non-Latin Fonts like Greek, Hebrew, or Arabic, starting with Arabic Objective: Oracle Reports creates PDF on AIX we want to use ARABIC Fonts which are... (1 Reply)
Discussion started by: filosophizer
1 Replies
update-fonts-dir(8)					      System Manager's Manual					       update-fonts-dir(8)

NAME
update-fonts-dir - compile fonts.dir files SYNOPSIS
update-fonts-dir [OPTION] directory ... DESCRIPTION
update-fonts-dir creates a fonts.dir file in an X font directory by invoking mkfontdir(1x) with the appropriate arguments. It is typically invoked only from the post-installation and post-removal scripts of a package containing fonts for the X Window System, but may be invoked at any time to reconstruct fonts.dir files. For each directory, which is simply the last component of its path (such as '75dpi' or 'misc'), update-fonts-dir will generate either /usr/lib/X11/fonts/directory/fonts.dir or /usr/share/fonts/X11/directory/fonts.dir from the fonts.scale and font files found within it. This enables multiple packages to provide names for fonts in the same directory. No font package actually provides the fonts.dir file in the X font directory itself, so there is no danger of overwriting one package's font names with those of another. For instance, the two packages 'xfonts-base' (real) and 'xfonts-nifty' (hypothetical) may both install fonts into the directory /usr/lib/X11/fonts/misc, and update-fonts-dir will ensure that the fonts.dir file in that directory contains information about the font files provided by both packages. The format of fonts.dir files is described in the mkfontdir(1x) manual page. An example of how to use update-fonts-dir in package maintainer scripts is provided in the Debian Policy Manual. OPTIONS
-h, --help displays a brief usage message and exits. -7, --x11r7-layout switches the font layout to the one introduced in X11R7: fonts in /usr/share/fonts/X11/directory (default is: fonts in /usr/lib/X11/fonts/directory) OPERANDS
update-fonts-dir takes one or more X font directory names to operate on as operands. Only the final path component of the directory name should be specified; e.g., update-fonts-dir 75dpi is correct, while 'update-fonts-dir /usr/X11R6/lib/X11/fonts/75dpi' and 'update-fonts-dir /usr/lib/X11/fonts/75dpi' are not. ENVIRONMENT
COLUMNS indicates the width of the terminal device in character cells. This value is used for formatting diagnostic messages. If not set, the terminal is queried using stty(1) to determine its width. If that fails, a value of '80' is assumed. DIAGNOSTICS
Errors usage error: one or more font directories must be provided update-fonts-dir was invoked without operands. Supply one or more X font directory names to operate on. usage error: unrecognized option update-fonts-dir was invoked with an unrecognized option argument. Use only the options documented in "OPTIONS", above. fatal error: path to X font directory must be used A directory name was supplied that was not an X font directory name. Supply X font directory names only. Warnings warning: absolute path directory was provided Usage of absolute paths is deprecated. Use only the final component of the X font directory name for directory. warning: directory does not exist or is not a directory The supplied directory was invalid. update-fonts-dir skipped it. EXIT STATUS
0 update-fonts-dir ran successfully. 1 update-fonts-dir experienced a fatal error; see the section on diagnostic messages above. 2 update-fonts-dir was invoked with invalid arguments. BUGS
See the Debian Bug Tracking System <http://bugs.debian.org/xfonts-utils>. If you wish to report a bug in update-fonts-dir, please see /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command. AUTHOR
update-fonts-dir was written by Branden Robinson. SEE ALSO
mkfontdir(1x) Debian Project 2004-11-11 update-fonts-dir(8)
All times are GMT -4. The time now is 11:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy