AIX TrueType Fonts Installation


 
Thread Tools Search this Thread
Operating Systems AIX AIX TrueType Fonts Installation
# 1  
Old 03-16-2010
AIX TrueType Fonts Installation

We have an app that prints PDF files but some of the required TrueType fonts are missing on our AIX box. Does AIX support TrueType fonts? How can I install the following fonts?:
Code:
OCR A Extended (OCRAEXT.TTF)
Courier New (cour.ttf)

I have tried copying those fonts from my Windows box into /usr/lpp/X11/defaults/TrueType but I don't think that was the right way to do it and it didn't work anyway. I tried searching for filesets that contained these fonts but I wasn't able to find anything going down that route either.

Maybe I have to use "smitty font"? But where would I get a "*.nsf" font file?

Last edited by kah00na; 03-16-2010 at 06:36 PM..
# 2  
Old 03-17-2010
As i feel there is a bit of misunderstanding of the concepts involved first a few general explanations.

Quote:
Originally Posted by kah00na
Does AIX support TrueType fonts?
To be precise AIX doesn't "support fonts" at all - X-Windows is supporting the fonts. X-Windows is provided with AIX so the difference isn't all too obvious, but in fact X-Windows is (in one respect) a generic way of handling all things graphical, including fonts.

Any X-Windows system consists of several parts, which might be networked:

1) an X-server. This is the part which handles the graphical display. Think of it as a driver for a graphic card with a network interface and a standardised protocol (the X-protocol, default port 6000tcp) to use its services.

2) a window manager. This is the part which uses one (or several) X-servers to create a display. It decorates windows with borders and a title bar (along with the functionality built into these elements, like resizing, closing, etc.), handles change of focus between windows, etc.. An example for sucha a window manager would be mwm (Motif Window Manager), which is supplied with AIX, another would be fvwm (an open source development), Enlightenment and many, many more. Desktop environments like KDE and Gnome are basically window managers with a lot of additional functions.

3) the font manager. It renders all the fonts the various devices (displays, printers, ...) will use and provides them over the network (default port 7100tcp) to the X-server(s).


Quote:
I have tried copying those fonts from my Windows box into /usr/lpp/X11/defaults/TrueType but I don't think that was the right way to do it and it didn't work anyway.
Right. First, there are some standard formats for X-fonts, the most common being "PCF" (portable compiled format). Most font servers are designed to handle these formats, but not TrueType, which is a Microsoft-only font format (actually a pretty crude one and the M$$-fonts are dumbed-down and uglyfied Adobe-fonts, but that only as an aside). There are font-servers which can handle Truetype-fonts, though, and you have to make sure you are using one which can do that.

Second, you need not only to copy the font file but also make the font server aware of it. Here is the process described. You should then be able to view the font using the "xfontsel" utility. You can also add alias names for the fonts using the "fonts.alias" file (see the manpage or the AIX documentation for a detailed explanation of the file format).

I hope this helps.

bakunin
# 3  
Old 03-17-2010
Which font-server can handle Truetype-fonts that is compatible with AIX?
If I have the font in a "*.bff" or "*.pcf.Z" format, then I don't need a new font-server?
Is there any process for converting *.ttf files into *.pcf.Z?
# 4  
Old 03-18-2010
Quote:
Originally Posted by kah00na
Which font-server can handle Truetype-fonts that is compatible with AIX?
I entered "truetype fonts aix" into google and got this as third hit.

Quote:
If I have the font in a "*.bff" or "*.pcf.Z" format, then I don't need a new font-server?
correct.

Quote:
Is there any process for converting *.ttf files into *.pcf.Z?
With a font server using TrueType-fonts why would you want to do this?

bakunin
# 5  
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question