Sponsored Content
Full Discussion: Adding Fonts to Solaris 2.8
Top Forums UNIX for Advanced & Expert Users Adding Fonts to Solaris 2.8 Post 28513 by RTM on Thursday 19th of September 2002 11:52:45 AM
Old 09-19-2002
Default Font Locations


By default on a Solaris system, the
base directory is
/usr/openwin/lib/X11/fonts

Directory File suffixes Contents
--------------------------------------------------------
/usr/openwin/lib/X11/fonts/100dpi *.pcf Bitmap Fonts
/usr/openwin/lib/X11/fonts/75dpi *.pcf Bitmap Fonts
/usr/openwin/lib/X11/fonts/F3/afm *.f3b F3 format outline fonts
/usr/openwin/lib/X11/fonts/map *.map F3 character set specifications
/usr/openwin/lib/X11/fonts/F3bitmaps *.pcf Bitmap Fonts
/usr/openwin/lib/X11/fonts/Speedo *.spd Bitstream Speedo format outlines
/usr/openwin/lib/X11/fonts/Type1 *.pfa *.pfb Type1 outline fonts
/usr/openwin/lib/X11/fonts/afm *.afm Adobe font metrics
/usr/openwin/lib/X11/fonts/outline *.pfa *.pfb Type1 outline fonts
/usr/openwin/lib/X11/fonts/prebuilt *.bept *.lepf Bitmaps for SPARC(R) Solaris[TM] and X86
/usr/openwin/lib/X11/fonts/Xt+ *.pcf Bitmap Fonts
/usr/openwin/lib/X11/fonts/Type3 *.ps PostScript outline fonts
/usr/openwin/lib/X11/fonts/encodings *.enc Encodings
/usr/openwin/lib/X11/fonts/misc *.pcf Bitmap Fonts


In Solaris[TM] 2.4 or later, CDE (SPARCdesign[TM]) adds a new set of fonts:
/usr/dt/config/xfonts/C
Suffix Meaning
-------------------------------------
.pcf.Z Compressed Bitmap Fonts



By default on a SunOS[TM] system, the
base directory is
/usr/openwin/lib/fonts

Suffix Meaning
--------------------------------------
.afb Adobe ASCII format bitmap font file
.afm Adobe ASCII format metric file
.bdf Adobe/MIT BDF2.1 format file
.f3b F3 (outline font) file
.fb X11/NeWS font binary file
.ff X11/NeWS Font family file
.fm X11/NeWS font metric file
.ps PostScript language font file
.vft V font format file
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding an interface to solaris?

I have a quad ethernet card in my sun box, and only 3 of them are visable when I "ifconfig -a". How do I activate the the 4th one? I think it is solaris 5.6. Thanks. Marc (1 Reply)
Discussion started by: mmaniscalco
1 Replies

2. UNIX for Dummies Questions & Answers

adding interfaces in solaris 9

Hi, Have a solaris 9 e420, one onboard nic. Now I added a quad nic card. I have never had more than a single interface. Any help on setting this new card up? or links? PLease? ; thanks! (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

3. UNIX for Dummies Questions & Answers

Adding an additional harddrive in solaris 9

Hello, I have a system which a new harddrive was installed for additional space. I now need to mount the drive and transfer data from /home to the new drive with a mount point named /home. How do I go about doing this? Thanks in advance. (5 Replies)
Discussion started by: GLJ@USC
5 Replies

4. Solaris

adding routes in Solaris

Solaris Guru's What is the proper way to add routes in the routing table so after a node reboot the routes will not be lost. I understand the /etc/defaultrouter for the default router and the <route add> command but using this command routes will be removed once the node reboots. Thanks (7 Replies)
Discussion started by: Brad_52000
7 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. Solaris

The system (Solaris 8) has not found required fonts.

Hi guys and ladies! The application not found required fonts. I checked, the packages SUNWi5rf, SUNWi5of are installed. Then I checked availability the directories iso8859-5, iso8859_5 at /usr/openwin/lib/locale. I checked after that. % xlsfonts | grep "lucida-" The system showed only ... (0 Replies)
Discussion started by: wolfgang
0 Replies

7. Solaris

Adding a user twice to Solaris OS

is it possible to add a user twice to solaris server with the same id? i have been added twice in the past week and that is messing up one application that i am using which authenticate against the os. (10 Replies)
Discussion started by: basel
10 Replies

8. Solaris

Adding User in Solaris Error.....

Hi all, when I type this command useradd -d /home/ram89 -m ram89 it gives an error unable to create home directory. Why so ? How to create user in Solaris? The perfect method? Please guide me. Thanks in advance Manali. (5 Replies)
Discussion started by: manalisharmabe
5 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:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy