XML Professional Publisher: Fonts
Total Page:16
File Type:pdf, Size:1020Kb
XML Professional Publisher: Fonts for use with XPP 9.4 January 2020 Notice © SDL Group 1999, 2003-2005, 2009, 2012-2020. All rights reserved. Printed in U.S.A. SDL Group has prepared this document for use by its personnel, licensees, and customers. The information contained herein is the property of SDL and shall not, in whole or in part, be reproduced, translated, or converted to any electronic or machine-readable form without prior written approval from SDL. Printed copies are also covered by this notice and subject to any applicable confidentiality agreements. The information contained in this document does not constitute a warranty of performance. Further, SDL reserves the right to revise this document and to make changes from time to time in the content thereof. SDL assumes no liability for losses incurred as a result of out-of-date or incorrect information contained in this document. Trademark Notice See the Trademark file at http://docs.sdl.com for trademark information. U.S. Government Restricted Rights Legend Use, duplication or disclosure by the government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 or other similar regulations of other governmental agencies, which designate software and documentation as proprietary. Contractor or manufacturer is SDL Group, 201 Edgewater Drive, Wakefield, MA 01880-6216. ii Contents Part I Installing Fonts Chapter 1 Installing Fonts Understanding the Installation Process ....................... 1-2 Obtain the Proper Fonts ................................. 1-2 Type 1 Fonts ......................................... 1-2 CID Fonts ............................................ 1-3 OpenType/PostScript Fonts ............................ 1-3 Putting Fonts in the Correct Directories .................... 1-4 Font Directories ...................................... 1-4 Using Font Copy .......................................... 1-6 Running Font Copy ..................................... 1-6 Using Build FAST ......................................... 1-8 Running Build FAST .................................... 1-8 Warning/Error Messages from Build FAST ................. 1-14 After Running Build ..................................... 1-14 Follow-up for Text Fonts ............................... 1-15 Follow-up for Pi Fonts ................................. 1-15 Resolving Unidentified PSN Names During Build FAST Processing ............................................. 1-16 Troubleshooting PostScript Fonts ............................ 1-18 Troubleshooting Tips .................................... 1-18 Verifying that You Have a Valid Font File .................. 1-18 PostScript Type 1 Font ................................. 1-19 CID Font ............................................ 1-19 Fonts Contents iii OpenType Font ....................................... 1-20 Viewing Output File .................................. 1-21 Modifying the Encoding Table ............................ 1-22 Verifying the Directory Structure .......................... 1-22 Part II Understanding XPP Fonts and Font Specs Chapter 2 Introduction to Fonts Understanding Xyvision Standard Format .................... 2-2 Xyvision Standard Format (XSF) .......................... 2-2 Xyvision Character Set (XCS) ............................. 2-2 The Conversion Process .................................. 2-3 PostScript Fonts ........................................... 2-4 Standard 35 PostScript fonts .............................. 2-4 Downloading Fonts ..................................... 2-5 PSRESOURCEPATH Environment Variable ................ 2-5 Font Download Tables ..................................... 2-7 Format of an Enable Font Download Table ................. 2-7 Font Download Table (table_1) ........................... 2-7 Creating Custom Font Download Tables ................. 2-8 Adding Fonts to Your Font Download Table .............. 2-8 Activating Your Enable Font Download Table .............. 2-8 Specs Needed for Display and Output ....................... 2-9 How the System Uses the Specs ........................... 2-9 When Do I Need to Edit Font Specs? ...................... 2-11 How Do I Create New Font Specs? ........................ 2-11 Unicode Capabilities ...................................... 2-12 Chapter 3 The Xyvision Character Set Spec (XCS) Understanding the XCS Spec ............................... 3-2 When to View the XCS Spec .............................. 3-2 Accessing the XCS Spec from PathFinder ................ 3-3 Accessing the XCS Spec from the Operating System ....... 3-3 Learning About the Files Generated from the XCS Spec ........ 3-4 ASCII to XSF Files ...................................... 3-4 ASCII escape sequences ............................... 3-5 XSF to ASCII File ....................................... 3-5 iv Contents Fonts XSF to Terminal File ..................................... 3-6 Obtaining Updates to the Standard XCS Spec ................. 3-7 Copying an XCS Spec ................................... 3-7 Modifying the XCS Spec ................................... 3-9 Editing or Adding an Entity String ........................ 3-9 Editing or Adding a Unicode ............................. 3-10 Assigning a Custom Character ............................ 3-10 Editing the Name and Description Fields .................. 3-10 Running GenXCS ....................................... 3-11 Locating Unused XyASCII Sequences ...................... 3-11 Understanding the Structure of the XCS Spec ................. 3-12 XCS Spec Fields ......................................... 3-12 Header Fields ........................................ 3-13 Rule Fields ........................................... 3-13 Print XCS Layout ....................................... 3-17 Chapter 4 The Keyboard Map Spec (KB) About Keyboards and Key Caps ............................ 4-2 Standard and Alternate Keyboards ........................ 4-2 Displaying Characters ................................... 4-4 Difficulty Displaying Characters ........................ 4-5 The Keyboard Spec (KB) ................................... 4-6 Structure of the KB Spec ................................. 4-6 Header Fields ........................................ 4-7 Rule Fields ........................................... 4-7 Organization of KB Spec Rules ............................ 4-8 Modifying KB Specs ....................................... 4-11 When Do I Need to Modify KB Specs? ..................... 4-11 Modifying an Existing KB Spec ......................... 4-11 Creating a New KB Spec ............................... 4-12 Mapping a Character or a String to a Key Cap .............. 4-12 Print A Keyboard Mapping ............................... 4-13 Updating KB Specs ........................................ 4-16 Copying New Keyboard Specs ............................ 4-16 Copying Individual KB Specs ............................. 4-16 Chapter 5 Font Libraries and Specs Managing Font Libraries ................................... 5-2 Source and Destination Font Libraries ..................... 5-2 Fonts Contents v Naming Font Libraries ................................... 5-3 Do I Need More Than One Font Library? .................. 5-3 Font Libraries in PathFinder .............................. 5-4 File System Location .................................... 5-4 Accessing Font Libraries ................................. 5-4 Managing Font Specs ...................................... 5-6 Naming Font Specs ..................................... 5-7 Accessing Font Specs .................................... 5-8 When to Edit Font Specs ................................. 5-9 Copying Font Specs through PathFinder ................... 5-10 Copying a Spec to the Same Library ..................... 5-10 Copying a Spec to a New Library ....................... 5-11 Field Notation .......................................... 5-11 Changing Field Notation .............................. 5-11 Using Field Notation .................................. 5-11 Header and Rule Fields .................................. 5-12 Editing Spec Fields .................................... 5-12 Overriding PTS or PSF Header Fields ................... 5-13 Chapter 6 The Phototypesetter Spec (PTS) Understanding the PTS Spec ................................ 6-2 Accessing PTS Specs .................................. 6-2 Delivered PTS Specs .................................. 6-2 AFM Files .............................................. 6-2 OTF Files .............................................. 6-3 The Relationship Between PTS Spec and PSN Spec .......... 6-3 Naming a PTS Spec ..................................... 6-3 Structure of a PTS Spec .................................. 6-4 Header Fields ........................................ 6-5 Rule Fields ........................................... 6-8 Chapter 7 The Pseudofont Spec (PSF) Understanding the PSF Spec ................................ 7-2 Delivered PSF Specs ..................................... 7-2 Accessing PSF Specs .................................. 7-2 Setting Up PSF Specs ...................................... 7-3 Naming a PSF Spec ..................................... 7-3 Structure of a PSF Spec .................................. 7-3 Header Fields ........................................ 7-4 Rule Fields ........................................... 7-6 Pseudofont Commands ................................ 7-8 vi Contents Fonts Examples of