Using Opentype Fonts in an AFP System
Total Page:16
File Type:pdf, Size:1020Kb
Printing Systems Division Using OpenType Fonts in an AFP System G544-5876-02 Printing Systems Division Using OpenType Fonts in an AFP System G544-5876-02 Note Before using this information and the product it supports, be sure to read the information in “Notices” on page 63. Third Edition (July 2004) Requests for IBM publications should be made to your IBM representative or to the IBM branch office serving your locality. If you request publications from the address given below, your order will be delayed because publications are not stocked there. Many of the IBM Printing Systems Division publications are available from the web page listed below. Internet Visit our home page at: http://www.ibm.com/printers A Reader’s Comments form is provided at the back of this publication. If the form has been removed, you can send comments by fax to 1-800-524-1519 (USA only) or 1-303-924-6873; by E-mail to [email protected]; or by mail to: IBM Printing Systems Division Department H7FE Building 004N Information Development PO Box 1900 Boulder CO 80301-9191 USA IBM may use or distribute whatever information you supply in any way it believes appropriate without incurring any obligation to you. © Copyright International Business Machines Corporation 2003, 2004. All rights reserved. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Figures . vii Tables . .ix About this publication . .xi Audience . .xi Most recent information . .xi Chapter 1. What are TrueType and OpenType fonts? . .1 Typefaces . .1 Encodings . .2 Packaging . .3 Chapter 2. What is Unicode? . .5 Unicode planes . .5 Scripts . .5 Transformation formats . .6 UTF-16 . .6 UTF-8 . .6 Presentation semantics . .7 Chapter 3. Why was the AFP architecture extended to support TrueType and OpenType fonts? . .9 Supporting more industry-standard typefaces . .9 Supporting Unicode . .9 Providing consistent font support across multiple presentation platforms . .9 Providing a basis for Unicode complex text support . .10 Chapter 4. How are TrueType and OpenType fonts installed on an AFP system? . .11 Resource libraries . .11 Font Installer for AFP Systems . .11 Resource access table (RAT) . .12 RAT structure . .12 RAT content . .13 Font collections . .13 Font linking . .14 Font capture . .15 Chapter 5. How are TrueType and OpenType Fonts referenced in an AFP data stream? 19 Full font names . .20 Characteristics of full font names . .21 Identifying the encoding for a full font name . .21 Font descriptive information. .22 MO:DCA font reference: the MDR structured field . .23 Transparency of font linking . .27 Transparency of font collections . .27 Transparency of font capture . .27 Preloading TrueType and OpenType fonts . .27 How are TrueType and OpenType fonts referenced in AFP line data? . .28 Chapter 6. How are inline TrueType and OpenType fonts supported? . .31 FQN triplet types on containers . .31 FQN type X’01’ triplet . .32 © Copyright IBM Corp. 2003, 2004 iii FQN type X’6E’ triplet. .32 FQN type X’7E’ triplet. .32 Font containers . .33 Font collection containers. .34 Chapter 7. How are TrueType and OpenType fonts located in the resource hierarchy? 37 Chapter 8. How can TrueType and OpenType fonts be used with legacy character encodings?. .39 EBCDIC and ASCII legacy data. .39 The X’20’ triplet . .39 The FQN type X’85’ triplet . .40 UTF-8 data . .40 The Encoding Scheme Identifier (X’50’) triplet . .40 Encoding triplets on the MDR . .41 Code point conversions . .41 Chapter 9. What AFP products have TrueType and OpenType font support? . .43 System overview . .43 AFP enablers . .45 AFP Printer Driver for Windows . .45 AFP Conversion and Indexing Facility (ACIF) . .45 OS/400 DDS . .45 Page Printer Formatting Aid (PPFA) . .45 Print servers . .46 PSF for z/OS . .46 PSF/400 . .47 Infoprint Manager for AIX and Infoprint Manager for Windows . .49 AFP Viewer Plug-in . .49 IPDS printers . .50 WorldType Fonts for AFP Print Servers and for AFP Clients . .50 Optional fonts for OS/400 . .50 Chapter 10. What about Unicode complex text support? . .51 Basis for support in AFP . .51 Unicode complex text support in OS/400 . .52 Appendix A. Using the Font Installer . .53 Appendix B. Is the font Unicode-enabled? . .55 Appendix C. Related publications . .57 Data Stream and Object Content Architectures publication library . .57 Character Data Representation Architecture publication library . .58 ACIF publication library . .58 PPFA publication library . .58 PSF for z/OS publication library . .58 || The Infoprint publication library . .59 || Infoprint Manager common publication library . .59 || Infoprint Manager for AIX publication library . .59 || Infoprint Manager for Windows publication library . .61 Infoprint Fonts for Multiplatforms publication library . .62 iSeries publication library. .62 Notices . .63 Trademarks . .65 Glossary . .67 iv Using OpenType Fonts in an AFP System Index . .73 Contents v vi Using OpenType Fonts in an AFP System Figures 1. TrueType and OpenType font tables: encodings . .3 2. System model for font referencing and glyph rendering . .20 3. Character placement based on character rotation, inline direction, and baseline direction. .23 4. Referencing a TrueType or OpenType font . .24 5. Structure of a resource group . .31 6. AFP system with TrueType and OpenType font support. .44 7. Font Installer for AFP Systems main window . .53 8. Font Installer for AFP Systems Font Properties dialog: Additional OpenType Names view . .55 9. Font Installer for AFP Systems Font Properties dialog: Unicode Ranges view. .56 © Copyright IBM Corp. 2003, 2004 vii viii Using OpenType Fonts in an AFP System Tables 1. Where to find information on the IBM Printing Systems web pages . .xi 2. Character groupings in the Unicode BMP . .5 3. Triplets on the MDR TrueType or OpenType font reference. .25 4. MDR repeating group for UTF-16.