816-0281
-
Upload
jim-leonard -
Category
Documents
-
view
219 -
download
0
Transcript of 816-0281
-
8/4/2019 816-0281
1/42
Font Administrator User's Guide
Part No: 816028111September2010
-
8/4/2019 816-0281
2/42
Copyright 1994, 2010, Oracleand/or itsafliates. Allrights reserved.
This sotware and related documentation are provided undera license agreement containingrestrictions on use and disclosure and are protected by intellectualproperty laws. Exceptas expresslypermitted in your license agreementor allowed by law, youmay notuse, copy, reproduce, translate, broadcast, modiy, license,transmit,distribute,exhibit,perorm,publish,or display anypart,in anyorm,or by anymeans. Reverse engineering,disassembly,or decompilation o this sotware,unless required by law or interoperability, is prohibited.
Theinormationcontained hereinis subject to changewithout noticeand is notwarranted to be error-ree. I yound anyerrors,please reportthem to us in writing.
Ithis is sotware or related sotware documentation that is deliveredto theU.S. Government or anyonelicensing it on behalo theU.S. Government, theollowingnotice is applicable:
U.S. GOVERNMENT RIGHTS Programs, sotware, databases, and related documentation and technicaldata deliveredto U.S. Governmentcustomers arecommercial computer sotware or commercial technical data pursuant to the applicableFederalAcquisition Regulation and agency-specic supplementalregulations.As such, theuse, duplication,disclosure,modication, andadaptationshallbe subject to therestrictions andlicensetermsset orth in theapplicableGovernment contract,and, to theextent applicable by thetermso theGovernment contract,the additional rightsset orth in FAR 52.227-19,CommercialComputer Sotware License (December 2007).Oracle America, Inc.,500 Oracle Parkway, Redwood City,CA 94065.
This sotware or hardware is developedor general usein a variety o inormation management applications. Itis notdeveloped or intended oruse in anyinherentlydangerousapplications, includingapplications which maycreate a risk o personal injury. I youuse this sotware or hardware in dangerousapplications, then youshall be responsible to take allappropriateail-sae, backup, redundancy, andothermeasuresto ensureits saeuse. OracleCorporationand itsafliatesdisclaimany
liabilityor anydamagescausedby useo this sotware or hardware in dangerousapplications.Oracleand Java areregistered trademarks o Oracleand/or itsafliates. Other names maybe trademarks o their respective owners.
AMD, Opteron, theAMD logo, andthe AMDOpteron logo aretrademarksor registered trademarks o Advanced Micro Devices. Intel andIntelXeonaretrademarks or registeredtrademarks o IntelCorporation. All SPARC trademarksare used underlicense and are trademarksor registered trademarkso SPARCInternational,Inc. UNIX is a registered trademarklicensed through X/Open Company, Ltd.
This sotware or hardware anddocumentation mayprovide accessto or inormation on content, products,and services rom third parties. OracleCorporationanditsafliates arenot responsible orand expresslydisclaimall warranties o anykind with respect to third-party content, products,and services.Oracle Corporationandits afliates will notbe responsible orany loss, costs,or damages incurred dueto your accessto or useo third-party content, products,or services.
Copyright 1994, 2010, Oracleet/ouses aflis. Tous droitsrservs.
Ce logiciel et la documentation quilaccompagnesont protgs parles lois surla propritintellectuelle. Ilssont concds souslicenceet soumis desrestrictionsdutilisation et de divulgation.Sau disposition de votre contrat de licence ou de la loi, vous ne pouvezpas copier, reproduire, traduire,diuser,modier,breveter,transmettre,distribuer,exposer,excuter, publier ou afcherle logiciel,mme partiellement, sous quelque orme et parquelque procd quece soit. Par ailleurs,il estinterdit de procder toute ingnierie inverse du logiciel,de le dsassemblerou de le dcompiler, except desns dinteroprabilitavecdes logicielstiersou telqueprescrit parla loi.
Les inormations ournies dans ce document sont susceptibles de modication sans pravis. Parailleurs, Oracle Corporationne garantit pas quellessoient exemptesderreurs et vous invite, le caschant, luien aire part parcrit.
Sice logiciel,ou la documentation quilaccompagne, estconcd sous licence au Gouvernementdes Etats-Unis, ou toute entitqui dlivre la licence de ce logicielou lutilise pour le comptedu Gouvernementdes Etats-Unis,la noticesuivantesapplique :
U.S. GOVERNMENT RIGHTS. Programs, sotware, databases, and related documentation and technical datadeliveredto U.S. Government customers are"commercial computer sotware" or "commercialtechnical data" pursuant to the applicable Federal Acquisition Regulationand agency-specic supplementalregulations.As such, theuse, duplication,disclosure,modication, andadaptationshallbe subject to therestrictions andlicensetermsset orth in theapplicableGovernment contract,and, to theextent applicable by thetermso theGovernment contract,the additional rightsset orth in FAR 52.227-19,CommercialComputer Sotware License (December 2007).Oracle America, Inc.,500 Oracle Parkway, Redwood City,CA 94065.
Ce logiciel ou matriel a tdvelopp pour un usage gnral dans le cadre dapplicationsde gestiondes inormations. Ce logiciel ou matriel nestpas conu ni nestdestin tre utilis dans desapplications risque, notammentdans desapplications pouvant causerdes dommages corporels. Si vous utilisez ce logiciel ou matrieldans le cadre dapplicationsdangereuses,il estde votre responsabilit de prendre toutesles mesures de secours, de sauvegarde, de redondance et autresmesuresncessaires son utilisation dans des conditionsoptimalesde scurit. Oracle Corporationet ses aflis dclinent touteresponsabilitquant aux dommages causspar lutilisation de ce logiciel ou matriel pource typedapplications.
Oracleet Java sont desmarques dposes dOracleCorporationet/oude sesaflis.Tout autre nommentionn peut correspondre desmarques appartenant dautres propritaires quOracle.
AMD, Opteron, le logo AMDet le logo AMDOpteron sont desmarques ou desmarques dposes dAdvanced Micro Devices. Intel et Intel Xeon sont desmarques oudesmarques dposes dIntel Corporation.Toutes lesmarques SPARCsont utilisessous licence et sont desmarques ou desmarques dposes de SPARCInternational, Inc. UNIX estune marquedpose concd souslicense parX/Open Company, Ltd.
100716@24378
-
8/4/2019 816-0281
3/42
Contents
Preace .....................................................................................................................................................7
1 Getting Started ....................................................................................................................................11
To Open Font Administrator ............................................................................................................. 11
Font Administrator Main Window ................................................................................................... 12
Fonts Menu ................................................................................................................................... 14
Options Menu .............................................................................................................................. 14
Help Menu .................................................................................................................................... 15
2 ViewingFonts .......................................................................................................................................17
To View a List o Fonts ........................................................................................................................ 17
For the Local Host ........................................................................................................................ 17
For a NeWSprint Printer ............................................................................................................. 18
To View Sample Text .......................................................................................................................... 18
For This Session Only .................................................................................................................. 18
Setting the Deault Sample Text ................................................................................................. 18
To View Font Attributes ..................................................................................................................... 19
To View Font Aliases .......................................................................................................................... 20
To Find Fonts ....................................................................................................................................... 21
To Delete Fonts .................................................................................................................................... 21
3 Making Fonts Available ......................................................................................................................23
To Install Fonts .................................................................................................................................... 23
To Resolve Conicts .................................................................................................................... 25
To Add the Installation Directory to the Font Path ................................................................. 26
To Modiy the Font Path ..................................................................................................................... 27To List the Font Path .................................................................................................................... 28
3
-
8/4/2019 816-0281
4/42
To Reorder the Font Path ............................................................................................................ 28
To Delete Font Path Elements .................................................................................................... 29
To Add Font Path Elements ........................................................................................................ 29To Use the Directory Chooser ........................................................................................................... 29
A Font Administrator Messages ...........................................................................................................31
path already exists in ont path .......................................................................................................... 31
Possible Solution .......................................................................................................................... 31
text is not a directory ........................................................................................................................... 31
Possible Solution .......................................................................................................................... 31
path does not exist ............................................................................................................................... 31
Possible Solutions ......................................................................................................................... 31
Your system is mounting OpenWindows rom a server. ............................................................... 32
Possible Solutions ......................................................................................................................... 32
Unable to add the installation directory automatically to the ont path ....................................... 32Possible Solution .......................................................................................................................... 32
Error while saving ont path or local printer ................................................................................... 32
Possible Solutions ......................................................................................................................... 32
B Font Administrator Utilities ...............................................................................................................33
Adding Font Path Elements (sdtfpadd) ........................................................................................... 33
sdtfpadd Command Syntax ....................................................................................................... 33
Listing Font Path Elements (sdtfpls) .............................................................................................. 34
sdtfpls Command Syntax ......................................................................................................... 34
Removing Font Path Elements (sdtfprm) ........................................................................................ 34
sdtfprm Command Syntax ......................................................................................................... 34
Installing Fonts (sdtfontadd) ........................................................................................................... 35
sdtfontadd Command Syntax .................................................................................................. 35
Listing Fonts (sdtfontls) .................................................................................................................. 35
sdtfontls Command Syntax ..................................................................................................... 35
Removing Fonts (sdtfontrm) ............................................................................................................ 36
sdtfontrm Command Syntax ..................................................................................................... 36
Contents
Font Administrator User's Guide September 20104
-
8/4/2019 816-0281
5/42
C AsianFontSets .....................................................................................................................................37
Searching or Font Sets ....................................................................................................................... 37
Replacing Font Set Elements .............................................................................................................. 38Naming Font Sets ................................................................................................................................ 39
Index ......................................................................................................................................................41
Contents
5
-
8/4/2019 816-0281
6/42
6
-
8/4/2019 816-0281
7/42
Preface
This guide explains how to use the Font Administrator tool to manage onts or OpenWindows
installations and NeWSprint printers.
Who Should UseThis BookThis book is intended or users and system administrators who use Font Administrator tomanage onts.
How This Book Is OrganizedChapter 1, Getting Started, explains how to start Font Administrator and describes the mainwindow.
Chapter 2, Viewing Fonts, explains how to view ont lists, aliases, and sample text, and alsoexplains how to delete onts.
Chapter 3, Making Fonts Available, explains how to install onts, modiy the ont path, and usethe directory chooser.
Appendix A, Font Administrator Messages, lists error messages along with their probablecauses and likely solutions.
Appendix B, Font Administrator Utilities, lists and describes the Font Administrator
command-line utilities.
Appendix C, Asian Font Sets, explains how to use Font Administrator to edit Asian ont sets.This appendix only applies to Asian onts users.
7
-
8/4/2019 816-0281
8/42
Documentation, Support, and TrainingSee the ollowing web sites or additional resources:
Documentation (http://docs.sun.com) Support (http://www.oracle.com/us/support/systems/index.html) Training (http://education.oracle.com) Click the Sun link in the let navigation bar.
Oracle WelcomesYour Comments
Oracle welcomes your comments and suggestions on the quality and useulness o itsdocumentation. I you nd any errors or have any other suggestions or improvement, go tohttp://docs.sun.com and click Feedback. Indicate the title and part number o thedocumentation along with the chapter, section, and page number, i available. Please let usknow i you want a reply.
Oracle Technology Network (http://www.oracle.com/technetwork/index.html) oers arange o resources related to Oracle sotware:
Discuss technical problems and solutions on the Discussion Forums(http://forums.oracle.com).
Get hands-on step-by-step tutorials with Oracle By Example (http://www.oracle.com/technology/obe/start/index.html).
Download Sample Code (http://www.oracle.com/technology/sample_code/index.html).
Typographic ConventionsThe ollowing table describes the typographic conventions that are used in this book.
TABLEP1 TypographicConventions
Typeface Meaning Example
AaBbCc123 The names o commands, les, and directories,and onscreen computer output
Edityour .login le.
Use ls -a to list all les.
machine_name% you have mail.
AaBbCc123 What you type, contrasted with onscreen
computer output
machine_name% su
Password:
aabbcc123 Placeholder:replacewith a realname orvalue The command toremove a le is rm
flename.
Preface
Font Administrator User's Guide September 20108
http://docs.sun.com/http://docs.sun.com/http://docs.sun.com/http://www.oracle.com/us/support/systems/index.htmlhttp://www.oracle.com/us/support/systems/index.htmlhttp://www.oracle.com/us/support/systems/index.htmlhttp://education.oracle.com/http://education.oracle.com/http://education.oracle.com/http://docs.sun.com/http://www.oracle.com/technetwork/index.htmlhttp://www.oracle.com/technetwork/index.htmlhttp://www.oracle.com/technetwork/index.htmlhttp://forums.oracle.com/http://forums.oracle.com/http://forums.oracle.com/http://forums.oracle.com/http://www.oracle.com/technology/obe/start/index.htmlhttp://www.oracle.com/technology/obe/start/index.htmlhttp://www.oracle.com/technology/obe/start/index.htmlhttp://www.oracle.com/technology/obe/start/index.htmlhttp://www.oracle.com/technology/sample_code/index.htmlhttp://www.oracle.com/technology/sample_code/index.htmlhttp://www.oracle.com/technology/sample_code/index.htmlhttp://www.oracle.com/technology/sample_code/index.htmlhttp://www.oracle.com/technology/sample_code/index.htmlhttp://www.oracle.com/technology/sample_code/index.htmlhttp://www.oracle.com/technology/sample_code/index.htmlhttp://www.oracle.com/technology/obe/start/index.htmlhttp://www.oracle.com/technology/obe/start/index.htmlhttp://forums.oracle.com/http://forums.oracle.com/http://www.oracle.com/technetwork/index.htmlhttp://docs.sun.com/http://education.oracle.com/http://www.oracle.com/us/support/systems/index.htmlhttp://docs.sun.com/ -
8/4/2019 816-0281
9/42
TABLE P1 TypographicConventions (Continued)
Typeface Meaning Example
AaBbCc123 Book titles, new terms, and terms to beemphasized Read Chapter 6 in the User's Guide.A cache isa copy thatis storedlocally.
Do notsave the le.
Note: Some emphasized items
appear bold online.
Shell Prompts in Command ExamplesThe ollowing table shows the deault UNIX system prompt and superuser prompt or shellsthat are included in the Oracle Solaris OS. Note that the deault system prompt that is displayedin command examples varies, depending on the Oracle Solaris release.
TABLEP2 Shell Prompts
Shell Prompt
Bashshell, Korn shell, and Bourne shell $
Bashshell, Korn shell, and Bourne shell or superuser #
C shell machine_name%
C shell or superuser machine_name#
Preface
9
-
8/4/2019 816-0281
10/42
10
-
8/4/2019 816-0281
11/42
Getting Started
Font Administrator is a graphical tool to assist Solaris OpenWindows users and administratorsin managing onts.
This chapter explains how to open Font Administrator and describes the main window.
To Open Font AdministratorTo open Font Administrator:
1. Click the Application Manager control in the CDE Front Panel's Applications subpanel.
2. In Application Manager, double-click the System_Admin older.
3. In the System_Admin older, double-click the Font Administrator icon.
1C H A P T E R 1
11
-
8/4/2019 816-0281
12/42
Or you can enter the ollowing command:
/usr/dt/bin/sdtfontadm &
Font Administrator's main window (Figure 11) appears, displaying a list o onts currently
installed on the local host. For a description o the main window, see Font Administrator Main
Window on page 12.
Note I you run Font Administrator by using an X terminal, Font Administrator manages onts
on the host system, not on the X terminal. Also, i the onts on the X terminal are dierent rom
the onts on the host, Font Administrator may not be able to display appropriate sample text tothe X terminal.
Font Administrator Main Window
Use the Font Administrator main window to view a list o currently installed onts. You can also
view attributes or sample text or a ont.
Font Administrator MainWindow
Font Administrator User's Guide September 201012
-
8/4/2019 816-0281
13/42
The Font Administrator main window consists o the ollowing parts:
Menu Bar Use the menus on the menu bar to access Font Administrator capabilities. The
menu bar contains the Fonts menu, Options menu, and Help menu.
Currently Installed Fonts For Use these buttons to choose whether to manage onts or the
local host, or or a NeWSprint printer.
Font List The ont list shows the onts that are currently installed, and allows you to select
a ont or which to view attributes or to delete. To select multiple onts, one method is to
hold down the Shit key and click the desired onts.
Sample Text Display The sample text display shows sample text or the currently selected
ont. You can type directly into this area to view other sample characters.
Sample Text Point Size Use the Sample Text Point Size option menu to choose a sample
text size rom the sizes available or the ont. Choose a larger point size or larger text, or
smaller or smaller text.
Screen Resolution Use the Screen Resolution option menu to select a dierent display
resolution or the ont, i available.
FIGURE 11 Font AdministratorMain Window
Font Administrator MainWindow
Chapter 1 Getting Started 13
-
8/4/2019 816-0281
14/42
Total disk space occupied To assist you in managing your disk space, Font Administratordisplays the total disk space occupied by the selected ont.
Fonts Menu
The Fonts menu lists the ollowing choices:
Delete Deletes theselectedontor onts.
Install Installsthe onts youchoose.
Attributes Displays attributes o the selected ont.
Find Searches theont listor the ontyou enter.Youcan enter a partialontname.
Aliases Displays a list o currently installed ont aliases.Exit Quits Font Administrator.
Options Menu
The Options menu lists the ollowing choices:
Modiy Font Path Makes changes to the ont path.
Set Sample Text Changes the deault sample text.
Font Administrator MainWindow
Font Administrator User's Guide September 201014
-
8/4/2019 816-0281
15/42
Help Menu
The Help menu lists the ollowing choices:
Overview Displays introductory inormation about Font Administratoreatures.
Tasks Displays step-by-step instructions or using Font Administrator.Reerence Displays summary inormation about Font Administrator
components.
On Item Changes the p ointer to a question mark click t he q uestionmark pointer on a Font Administrator item or its description.
Using Help Displays inormation about using Help.
About Font Administrator Displays version, copyright, and licensing inormation aboutFont Administrator.
Font Administrator MainWindow
Chapter 1 Getting Started 15
-
8/4/2019 816-0281
16/42
16
-
8/4/2019 816-0281
17/42
Viewing Fonts
This chapter explains how to view ont lists, aliases, and sample text, and also explains how to
delete onts.
It describes how:
To view a list o onts To view sample text To view ont attributes To view ont aliases To nd onts To delete onts
To View a List o Fonts
You can view a list o onts or local OpenWindows installations or or NeWSprint printers.
For the Local Host
To view a list o onts installed on the local host:
1. On the main window, nd the label Currently Installed Fonts For:.''
2. Click the radio button next to the local host name.
The main window (Figure 11) displays the list o currently installed onts. For a description o
the main window, see Font Administrator Main Window on page 12.
2C H A P T E R 2
17
-
8/4/2019 816-0281
18/42
For a NeWSprint Printer
To view a list o onts installed on a NeWSprint printer on the local print server:
1. On the main window, nd the label Currently Installed Fonts For:.''
2. Click the radio button next to NeWSprint Printer.
3. Use the NeWSprint Printer option menu to select the printer or which you want to manageonts.
The main window (Figure 11) displays the list o currently installed onts. For a description othe main window, see Font Administrator Main Window on page 12.
Note You must run Font Administrator as the root user to be able to view and manage printeronts.
To View SampleTextYou can type in sample text to view or this session only, or you can set the deault sample text.
For This Session Only
To see what a word or phrase looks like using the selected ont, type the word or phrase in the
sample text display area o the main window or Install dialog.
For a picture and description o the main window, see Font Administrator Main Window onpage 12. For a picture and description o the Install dialog, see To Install Fonts on page 23.
Setting the Deault Sample Text
The deault sample text is automatically displayed when you select a ont in the main window orthe Install dialog. For a picture and description o the main window, see Font AdministratorMain Window on page 12. For a picture and description o the Install dialog, see To InstallFonts on page 23.
To set the deault sample text:
1. Select Set Sample Text rom the Options menu.
To View Sample Text
Font Administrator User's Guide September 201018
-
8/4/2019 816-0281
19/42
2. On the Set Sample Text dialog, click in the text box and type the desired text.
3. Click OK or Apply to save the sample text setting.
Note Because the deault sample text is a user preerence stored in the user's home directory, itcannot be set or the root user, who has no home directory. To view sample text, the root usertypes in the sample text display area.
To View Font Attributes
To view ont attributes:
1. On the main window, click the ont name or which you want to view attributes.2. Click Attributes.
The Font Attributes dialog displays the ollowing inormation or the selected ont:
Font The common name o the ont.
XLFDName The X logical ont descriptor.
FIGURE 21 Font Attributes Dialog
To View Font Attributes
Chapter 2 Viewing Fonts 19
-
8/4/2019 816-0281
20/42
Location The le system location o the ont.
Foundry The maker o the ont.
Character Set The character set used by this ont.
Spacing Indicates whether the ont is monospaced or proportionally spaced.
Note The Font Attributes dialog stays up until you click Close, displaying attributes in turn oreach ont you select. To view attributes or additional onts, simply click the onts one at a timein the list on the main window.
To View Font AliasesTo view ont aliases, choose Aliases rom the Fonts menu.
The Aliases dialog lists the currently installed aliases. To view attributes or an alias, select thealias and click More. To hide alias attributes, click Less.
FIGURE 22 Aliases Dialog
To View Font Aliases
Font Administrator User's Guide September 201020
T D l t F t
-
8/4/2019 816-0281
21/42
To Find FontsTo search the list o onts:
1. Choose Find rom the Fonts menu.
2. On the Find dialog, enter the ont name in the Search For eld.
3. Click Forward to search rom the selected ont toward the bottom o the list, or clickBackward to search rom the selected ont toward the top o the list.
4. Click Find to select the next ont name containing the search text, or click Select All to selectall ont names containing the search text.
To Delete FontsTo delete a ont or onts:
1. On the main window, select the ont to delete by clicking on its name. To select multipleonts to delete, hold down the Shit key and click the desired onts. For a picture anddescription o the main window, see Font Administrator Main Window on page 12.
Caution There is no Undo or deleting onts. Beore deleting onts, check that no one needsthe onts you want to delete.
2. Click Delete.
3. On the warning dialog, click Delete to conrm the deletion.
Note To delete onts rom the shared system directory/usr/openwin, you must run FontAdministrator as the root user.
To Delete Fonts
Chapter 2 Viewing Fonts 21
-
8/4/2019 816-0281
22/42
22
-
8/4/2019 816-0281
23/42
Making Fonts Available
This chapter explains how to install onts, modiy the ont path, and use the directory chooser.
To Install Fonts
To install onts:
1. Choose Install rom the Fonts menu.
3C H A P T E R 3
23
To Install Fonts
-
8/4/2019 816-0281
24/42
2. At the top o the Install dialog, click the List Fonts From Directory button.
Font Administrator User's Guide September 201024
To Install Fonts
-
8/4/2019 816-0281
25/42
3. Use the directory chooser to browse or and select the directory containing the onts you
want to install. When you nd the directory you want, double-click the directory, and then
click Choose to display a list o onts in the directory. For more inormation about the
directory chooser, see To Use the Directory Chooser on page 29.
Note There may be a pause while Font Administrator searches or onts in the directory you
choose.
4. On the Install dialog, select the ont or onts you want to install. I you want to install all the
onts, click Select All.5. Choose the local host or a printer or which to install onts.
6. Use the directory chooser to browse or and select the installation destination directory. For
more inormation about the directory chooser, see To Use the Directory Chooser on
page 29.
7. Check that the disk space available is greater than the disk space required.
8. Click Install.
Note To install onts to the shared system directory/usr/openwin, you must run Font
Administrator as the root user.
To Resolve Conficts
I there is a conict between a ont you tried to install, and a ont with the same name that has
already been installed, Font Administrator displays the conict dialog.
Chapter 3 Making Fonts Available 25
To Install Fonts
-
8/4/2019 816-0281
26/42
The conict dialog lists the onts you tried to install that already exist on your system.
To Keep All Fonts
To keep all o the previously installed onts, click Save.
To Replace All Fonts
To replace all onts:
1. Click Replace All.
2. Click Save.
To Replace Selected Fonts
To replace selected onts:
1. Click a ont you want to replace.
2. Click Replace.
3. Repeat steps 1 and 2 or each ont you want to replace.4. When you have completed steps 1 and 2 or each ont you want to replace, click Save.
To Add the Installation Directory to the Font Path
When you, as the root user, install a ont into a directory that is not in the deault ont path, FontAdministrator oers to add it to the deault ont path or you automatically. You can also
choose to add it manually by using the Modiy Font Path dialog.
FIGURE 31 Conict Dialog
Font Administrator User's Guide September 201026
To Modifythe Font Path
-
8/4/2019 816-0281
27/42
Note This dialog only appears i you run Font Administrator as the root user. For other users,
Font Administrator appends the installation directory to the user's ont path. The change to the
user's ont path lasts until the user quits Font Administrator.
To Modiy the Font Path
Note To modiy the ont path, you must run Font Administrator as the root user.
Modiying the ont path may include the ollowing subtasks:
To list the ont path To reorder the ont path To delete ont path Elements To add ont path Elements
Caution The deault ont path is shared. Modiying the deault ont path will aect all users who
reerence it.
Installing OpenWindows will initialize the deault ont path. You may want to keep a record o
the changes you make to the deault ont path, so that you can recreate them i you install
OpenWindows.
FIGURE 32 AddInstallation DirectoryDialog
Chapter 3 Making Fonts Available 27
To Modify the Font Path
-
8/4/2019 816-0281
28/42
To List the Font PathTo list the ont path you want to modiy:
1. Choose Modiy Font Path rom the Options menu.
2. On the Modiy Font Path dialog, click the appropriate radio button or the ont path you
want to modiy.3. I you are modiying the ont path or another OpenWindows installation on the local host,
click Directory and use the directory chooser to select the alternative OpenWindowsinstallation. For more inormation about the directory chooser, see To Use the DirectoryChooser on page 29.
4. I you are modiying the ont path or a NeWSprint printer, select the printer on the printeroption menu.
Font Administrator lists the ont path you choose.
To Reorder the Font PathTo reorder the ont path:
1. Choose Modiy Font Path rom the Options menu.2. On the Modiy Font Path dialog, Figure 33, list the ont path to modiy.
3. Click the ont path element you want to move.
FIGURE 33 Modiy Font Path Dialog
Font Administrator User's Guide September201028
To Use the Directory Chooser
-
8/4/2019 816-0281
29/42
4. Click Move Up or Move Down to place the ont path element where you want it.5. Repeat steps 3 and 4 until the ont path elements are in the order you want.6. Click OK or Apply to apply the changes.
To Delete Font Path Elements
To delete ont path elements:
1. Choose Modiy Font Path rom the Options menu.2. On the Modiy Font Path dialog, Figure 33, list the ont path to modiy.3. Click the ont path element you want to delete.4. Click Delete.5. Repeat steps 3 and 4 until you have deleted the elements you want to delete.6. Click OK or Apply to apply the changes.
To Add Font Path ElementsTo add ont path elements:
1. Choose Modiy Font Path rom the Options menu.
2. On the Modiy Font Path dialog, Figure 33, list the ont path to modiy.
3. Click in the New Font Path Element text box.
4. Either type the new ont path element, or click Directory to use the directory chooser tobrowse or and select the directory that you want to add to the ont path. When you nd thedirectory you want, double-click the directory, and then click Choose to enter the directory
in the New Font Path Element text box. For more inormation about the directory chooser,see To Use the Directory Chooser on page 29.
5. On the Modiy Font Path dialog, Figure 33, click Add New.
6. Repeat steps 3 to 5 until you have added the ont path elements you want to add.
7. Click OK or Apply to apply the changes.
To Use the Directory ChooserUse the directory chooser to:
Choose the directory containing onts to install.
Choose the destination directory or ont installation.
Choose the directory containing the OpenWindows installation or which you want tomodiy the ont path.
Choose the directory to add to the ont path.
Chapter 3 Making Fonts Available 29
To Usethe Directory Chooser
-
8/4/2019 816-0281
30/42
Note The title bar indicates the current reason or displaying the directory chooser.
The directory chooser consists o the ollowing parts:
Enter path or older name Type and/or viewthe path to go to. To choose a directory rom adiskette or CDROM, click the option arrow and select the desiredtype o drive.
Filter Display only those les and olders that match.
Folders When you g o to a directory, lists its s ubdirectories.
Files When you go to a directory, lists its les.
Choose Choose the last directory or which you did a Go To.
Go To Display a list o olders a nd les or the d irectory named a t thetop o the directory chooser.
Caution I you click a older but do not click Go To, the older name appears at the top o thedirectory chooser but the parent directory is still selected. To avoid choosing the parentdirectory by accident, always double-click or Go To the older you want.
The Files list is always grayed out, because the task is to choose a directory (a older), not a le.
FIGURE 34 Directory Chooser
Font Administrator User's Guide September 201030
-
8/4/2019 816-0281
31/42
Font Administrator Messages
This appendix lists Font Administrator messages together with likely causes and solutions.
path already exists in ont path
The path you entered is already in the ont path.
Possible SolutionNo action is necessary.
text is not a directoryThe inormation you entered is not a directory. Only directories may be added to the ont path.
Possible SolutionCheck that the ont path element you enter is a directory.
path does not existThe path you entered does not exist.
Possible Solutions
Check that you entered the path correctly. Create the desired path beore adding it to the ont path.
AA P P E N D I X A
31
Your system is mountingOpenWindowsfrom a server.
-
8/4/2019 816-0281
32/42
Your system is mounting OpenWindows rom a server.Your OpenWindows server, which contains the onts used by your applications, is on a remote
system. Font Administrator manages onts on the local system.
Possible Solutions Ask your system administrator to help you.
I you are the administrator, run Font Administrator on the same system running yourOpenWindows server.
Unable to add the installation directory automatically to theont path
Font Administrator could not automatically update the ont path. For users to have access to the
installed onts, the installation directory must be in the ont path.
Possible Solution
Check that you have write privileges on the ont path.
Error while saving ont path or local printerThere was a problem with either the printer conguration le, or the $OPENWINHOME/lib/fontsdirectory.
Possible Solutions Check that the printer conguration le exists and is not corrupted:
/etc/lp/printers/printer_name/.param
Check that the $OPENWINHOME/lib/fonts directory exists.
Font Administrator User's Guide September 201032
-
8/4/2019 816-0281
33/42
Font Administrator Utilities
This appendix lists and describes the Font Administrator command-line utilities. The utilities
are:
sdtfpadd Adds elements to the ont path.
sdtfpls Lists ont path elements in a comma-separated list.
sdtfprm Removes elements rom the ont path.
sdtfontadd Installs onts in the specied directory.
sdtfontls Lists onts in the specied directory.
sdtfontrm Removes onts rom the specied directory.
Adding Font Path Elements (sdtfpadd)This utility adds the specied element to the ont path. The new element may be added at anyposition in the ont path. Only the root user can run this utility.
sdtfpadd Command Syntax/usr/dt/bin/sdtfpadd [-e topdir] position ont_path_element
where:
-e topdir Species the directory containing the OpenWindows installation orwhich to modiy the ont path. I not specied, the deault is/usr/openwin.
BA P P E N D I X B
33
Listing Font Path Elements (sdtfpls)
-
8/4/2019 816-0281
34/42
position Species the position in the ont path at which to insert the new ontpath element. The value must be either first or last or a positiveinteger indicating into which position to insert the new element.
ont_path_element Species the directory to add to the ont path.
Listing Font Path Elements (sdtfpls)This utility lists ont path elements in the user's personal ont path setting, or or the root user,lists the ont path or the specied OpenWindows installation.
sdtfpls Command Syntax/usr/dt/bin/sdtfpls [-e topdir ]
where -e topdiris only meaningul or the root user, and species the directory containing theOpenWindows installation or which to list the ont path. I not specied, the deault is/usr/openwin.
Removing Font Path Elements (sdtfprm)This utility removes the specied ont path element. Only the root user can run this utility.
sdtfprm Command Syntax/usr/dt/bin/sdtfprm [-e topdir] ont_path_element
where:
-e topdir Species the directory containing the OpenWindows installation orwhich to modiy the ont path. I not specied, the deault is/usr/openwin.
ont_path_element Species the directory to remove rom the ont path.
Font Administrator User's Guide September 201034
Listing Fonts (sdtfontls)
-
8/4/2019 816-0281
35/42
Installing Fonts (sdtfontadd)This utility installs onts to the directory you speciy.
sdtfontadd Command Syntax/usr/dt/bin/sdtfontadd [-e dir][-v][-f][ont_name ...] romdir todir
where:
-e dir I the user is the root user, the ont path or the OpenWindows installation in
this directory will be updated as necessary. That is, itodiris not in the ontpath, sdtfontadd appends it to the ont path. I this option is not specied,the deault is /usr/openwin.
-v Runs sdtfontadd in verbose mode, displaying a message to standard output(usually the monitor) as each ont is installed.
-f Runs sdtfontadd with no user interaction. I a conicting ont is read-only, itis not overwritten. Otherwise, conicting onts are replaced by the new ont.
ont_name ... Represents a list o onts to install.
Note Type quotes around ont names to make sure that they are interpretedcorrectly.
I no ont is specied on the command line, sdtfontadd expects to receiveont names rom standard input (usually the keyboard).
romdir Species the directory rom which sdtfontadd will copy the onts.
todir Species the directory into which sdtfontadd will install the onts.
Listing Fonts (sdtfontls)This utility lists onts in a directory.
sdtfontls Command Syntax/usr/dt/bin/sdtfontls [-x][dir]
where:
Appendix B Font Administrator Utilities 35
RemovingFonts (sdtfontrm)
-
8/4/2019 816-0281
36/42
-x Lists onts by their X Logical Font Descriptor or XLFD name. Bitmap (PCF) and Type 1onts are listed by their XLFD names. Font types that have no XLFD name and are onlyaccessible through Display Postscript, such as Type 3 and Type 0, are not listed.
dir Species the directory to list onts rom. I no directory is specied, the deault is thecurrent directory.
Removing Fonts (sdtfontrm)This utility removes the onts you speciy rom a directory.
sdtfontrm Command Syntax/usr/dt/bin/sdtfontrm [-e dir][-v][-f][ont_name ...] romdir
where:
-e dir I the user is the root user, the ont path or the OpenWindows installation in
this directory will be updated as necessary. That is, iromdirbecomes emptyas a result o removing onts, sdtfontrm removes it rom the ont path. I thisoption is not specied, the deault is /usr/openwin.
-v Runs sdtfontrm in verbose mode, displaying a message to standard output(usually the monitor) as each ont is removed.
-f Runs sdtfontrm with no user interaction. Conict situations may arise ithere are read-only or system onts on the list o onts to remove. When the
-f option is used, system onts will be deleted, but read-only onts will not bedeleted.
ont_name ... Represents a list o onts to remove.
Note Type quotes around ont names to make sure that they are interpretedcorrectly.
I no ont is specied on the command line, sdtfontrm expects to receive ontnames rom standard input (usually the keyboard).
romdir Species the directory rom which sdtfontrm will remove onts.
Font Administrator User's Guide September 201036
-
8/4/2019 816-0281
37/42
Asian Font Sets
In applications that use Asian languages, multiple onts o dierent character sets must be
grouped together to create an accurate representation o written language on the screen. These
groupings are calledont sets.
Font Administrator provides the ability to edit ont sets. First, you can search or ont sets that
meet your search criteria. Then you can change the onts that make up a ont set, or you can addmissing onts to complete an incomplete ont set.
This appendix explains how to use Font Administrator to edit Asian ont sets.
Note The inormation in this appendix only applies to Asian onts users. Disregard this
inormation i you do not use Asian onts.
Searching or Font Sets
To search or ont sets:
1. Choose Font Sets rom the Options menu.
CA P P E N D I X C
37
ReplacingFont Set Elements
-
8/4/2019 816-0281
38/42
2. On the Font Sets Search dialog, use the Family option menu to select the ont amily to
search or.
3. Use the Point Size option menu to select the point size to search or.
4. Optionally, you may select any other attributes you would like to search or.
5. Click Search.
Font Administrator displays the search results, i any, on the Replace Font Set Elements dialog.
Replacing Font Set Elements
To replace ont set elements:
1. Search or ont sets as described in Searching or Font Sets on page 37.
Font Administrator User's Guide September 201038
Naming Font Sets
-
8/4/2019 816-0281
39/42
2. In the list o ont set elements, click the element to replace. This may be either a ont or theword Missing i the ont set is incomplete.
3. Choose a replacement by clicking it in the replacements list.
4. Click Replace.5. Repeat steps 2 through 4 or each element you want to replace.
6. When you have nished replacing ont set elements, click the Name Font Set button.
7. Name the ont set as described in Naming Font Sets on page 39.
8. I there is another ont set to modiy, click Next or Previous until the ont set is displayed.Repeat steps 2 through 7 or each ont set you want to modiy.
Naming Font SetsTo name a ont set:
1. Search or ont sets as described in Searching or Font Sets on page 37.
2. Replace ont set elements as described in Replacing Font Set Elements on page 38.
Appendix C Asian Font Sets 39
Naming Font Sets
-
8/4/2019 816-0281
40/42
3. On the Name Font Set dialog, enter a amily name or the ont set.
4. Optionally, you may select other characteristics or the ont set. By deault, thecharacteristics are set to None. Font Administrator creates an alias using the amily nameand characteristics that you choose. This alias appears in the lower part o the dialog, in theNew Font Set Name area.
5. When you are done entering the name and characteristics, click Save.
I the alias is unique, Font Administrator saves it in the/etc/openwin/fontadm_fonts/fonts.alias le. I it is not unique, Font Administratorprompts you to enter a unique alias.
Font Administrator User's Guide September 201040
-
8/4/2019 816-0281
41/42
Index
Aaliases, ont, viewing, 20
Asian ont sets, 37-40, 40
attributes, ont
list o, 19
viewing, 19
Cchooser, directory, using, 29
chooser,directory, using, 30
command-line utilities, 33-36, 36
Ddeleting onts, 21
directory chooserCaution notice, 30
dialog box, 30using, 29, 30
Eerror messages, 31, 32
Fnding onts, 21
Font Administrator
main window, 12
opening, 11ont aliases, viewing, 20
ont attributes
list o, 19
viewing, 19
ont path
Caution notices, 27
modiying, 27, 29ont sets, Asian, 37-40, 40
Fonts menu, description, 14
H
Help menu, description, 15
I
installing onts, 23, 27
conict resolution, 25
ont path update, 26
L
listing onts
or a NeWSprint printer, 18
or the local host, 17
41
M viewing onts (Continued)
Index
-
8/4/2019 816-0281
42/42
Mmain window, description, 12
OOptions menu, description, 14
Ppath, ont
Caution notices, 27modiying, 27, 29
printers, viewing onts or, 18
Rremoving onts, 21
Ssample text
setting deault, 18viewing, 18
sdtfontadd utility, 35
sdtfontls utility, 35sdtfontrm utility, 36sdtfpadd utility, 33sdtfpls utility, 34sdtfprm utility, 34searching or onts, 21
Uutilities, command-line, 33-36, 36
Vviewing onts
or a NeWSprint printer, 18
viewing onts (Continued)or the local host, 17
XX terminals, usage note, 12
Font Administrator User's Guide September 201042