Installing True Type fonts on Unix - Please help


 
Thread Tools Search this Thread
Operating Systems Solaris Installing True Type fonts on Unix - Please help
# 1  
Old 05-04-2004
Installing True Type fonts on Unix - Please help

Hi to all,
I have copied some true type fonts to my /usr/openwin/lib/X11/fonts/TrueType directory. I need to get the fonts.dir file updated. I have tried using the mkfontdir command but the file does not get updated with my new fonts. Can someone please help me as I have struggled with this for several days. I am looking for the exact syntax for this. Any help would be greatly appreciated.

Cheers,
Monte
# 2  
Old 05-05-2004
The syntax is simple: mkfontdir <directory>

So if you are in /usr/openwin/lib/X11/fonts/TrueType directory the command would be run as root:
# mkfontdir ./

Check the mkfontdir man page for info and post any errors you are getting.
# 3  
Old 05-05-2004
RTM,
Thank you for the suggestions. I am really baffled. That is the command that I am using. I have several true type fonts located in a directory called /azzurro2/monte90/temp.

As root, I issue the following command:

/usr/openwin/bin/mkfontdir /azzurro2/monte90/temp.

The fonts.dir file gets created in /azzurro2/monte90/temp but it does not list the fonts. Only 0 is listed in the top of the file for 0 fonts.

It seems like my fonts are not getting read for some reason. They all have a .ttf extension. Can you think of something that I am missing. I have used the man mkfontdir page and I am pretty confident that I am doing the right thing - really frustrating.

Any thoughts - cheers,
Monte
# 4  
Old 05-05-2004
First - the man page I linked for you shows what the file extensions should be for the mkfontdir. Ttf is not one of them.

Second - read this info doc - should be very helpful.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

True Type Font in Solaris

Hello, It is not related to scripting or unix command but it is related to Solaris environment setup. I'm a web developer, in my web application (J2EE using WebLogic 8.1) currently it's running in Windows. We are planning to have Disaster Server in Solaris host. In my application, we are... (1 Reply)
Discussion started by: luckybalaji
1 Replies

2. Linux

Installing Fonts on RHEL4

Hello All, I want to install some fonts from my unix box (Tru64) to linux box (RHEL4). I know what all steps are required, like > mkfontdir > fc-cache > xset fp rehash The problem is i am not able to find out which font is actually required from unix box to be installed on linux box. Is... (1 Reply)
Discussion started by: ankurjain
1 Replies

3. UNIX for Dummies Questions & Answers

grep in unix version True 64

Dear All I have a unix version (True 64 ) and i want to grep some of data from zipping files with extention(.gz) altyhough i wouldn't to unzip these files, so can you help me grep these data in one command without unzip files. Note:- In othe version of unix (i forget that version) i used the... (2 Replies)
Discussion started by: abu_hassan
2 Replies

4. UNIX for Dummies Questions & Answers

installing fonts on UNIX

I am fairly new to UNIX, and my company has a UNIX based Firewall with a spam filter configured on the Firewall. I have been able to pick up on most of the commands needed for administration purposes, but I have come into a problem when a Korean contractor tries to send my company an e-mail. The... (1 Reply)
Discussion started by: Bhavesh
1 Replies

5. UNIX for Dummies Questions & Answers

you have more and one unix type?

As a formem unix newbe I Just wanted to tell you about this cool site for all you confused people. If you need to support more than one unix type: Use this one. It's a life saver. http://www.unixguide.net/unixguide.shtml here (4 Replies)
Discussion started by: sunbird
4 Replies

6. Linux

Installing new fonts

Hi All, I'm running RH 7.3 and wish to install new fonts on the box ? What are the steps in downloading and installing new fonts ? Thanks, KENT (3 Replies)
Discussion started by: kxchen_home
3 Replies

7. UNIX Desktop Questions & Answers

TRUE Unix-64 Printer Driver for HP-6L laserjet.

Can anyone suggest me from where to download the printer driver for HP 6L laserjet printer for servers/desktops having TRUE Unix-64 and Unixware 7.0 OS. (1 Reply)
Discussion started by: parbende
1 Replies

8. Programming

C++ on True Unix Platform

Hi all: I would like to get some details about development using C++ on TRUE Unix platform. Can anyone help me ?? Thanks, -Mandar (2 Replies)
Discussion started by: mandar3
2 Replies
Login or Register to Ask a Question