Sponsored Content
Operating Systems Solaris Installing True Type fonts on Unix - Please help Post 50925 by montejr on Wednesday 5th of May 2004 01:29:45 PM
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
 

8 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

8. 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
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 10:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy