The Apple Font Tool Suite

The Apple Font Tool Suite

The Apple Font Tool Suite This document is copyright © 2002–2006 by Apple Computer, Inc. All rights reserved. Table of Contents Table of Contents........................................................................................................................i Introduction ...............................................................................................................................v Installing the tools.................................................................................................................vi Unicode™ .............................................................................................................................vi Words of warning ................................................................................................................vii Using the tools .....................................................................................................................vii Using this document ............................................................................................................vii ftxanalyzer .................................................................................................................................1 Typical uses for ftxanalyzer ...................................................................................................4 ftxdiff .........................................................................................................................................7 ftxdumperfuser...........................................................................................................................9 ftxenhancer ..............................................................................................................................15 ftxinstalledfonts........................................................................................................................17 ftxruler—ATSUI .....................................................................................................................19 ftxruler—QuickDraw..............................................................................................................23 ftxvalidator...............................................................................................................................29 How to Use Add Lists..............................................................................................................33 Introduction .........................................................................................................................33 Creating an Add List............................................................................................................33 The first line .........................................................................................................................33 The component line(s) .........................................................................................................34 Some examples.....................................................................................................................37 Roman numerals ..................................................................................................................37 Accented glyphs ...................................................................................................................37 i More extreme examples .......................................................................................................38 Addendum............................................................................................................................38 About Morph Input Files.........................................................................................................41 Introduction .........................................................................................................................41 A Quick Review of AAT Metamorphosis Effects................................................................41 A First Example...................................................................................................................42 Some general MIF rules.......................................................................................................43 MIF Format—Headers........................................................................................................44 MIF Format—Noncontextual .............................................................................................45 MIF Format—Ligature List ................................................................................................45 MIF Format—State Tables..................................................................................................47 The class list .........................................................................................................................48 The state array .....................................................................................................................48 The action list.......................................................................................................................49 MIF Format—Contextual....................................................................................................49 Another example ..................................................................................................................51 MIF Format—Insertion.......................................................................................................52 MIF Format—Rearrangement.............................................................................................53 MIF Format—Some general considerations........................................................................54 MIF Templates ....................................................................................................................58 Using Justification Input Files ................................................................................................61 Introduction .........................................................................................................................61 How AAT Justification Works............................................................................................61 The Factor Phase .................................................................................................................62 The Assignment Phase .........................................................................................................62 ii The Postcomp Phase ............................................................................................................63 The Justification Class.........................................................................................................63 Overall JIF Format .............................................................................................................63 The Header ..........................................................................................................................64 The “Factors” table part.......................................................................................................65 The “Classes” table part .......................................................................................................65 The “Postcomp” table part ...................................................................................................66 Ligature Decomposition actions ..........................................................................................67 Unconditional Add actions...................................................................................................67 Conditional Add actions.......................................................................................................68 Stretch actions......................................................................................................................68 Ductility actions...................................................................................................................68 Some Examples....................................................................................................................69 Simple Latin, no intercharacter spacing...............................................................................69 Adding intercharacter spacing .............................................................................................70 iii Introduction Apple’s font tool suite consists of the following command-line tools: • ftxanalyzer • ftxdiff • ftxdumpfond • ftxdumperfuser • ftxenhancer • ftxfusefond • ftxinstalledfonts • ftxruler • ftxvalidator • klcompiler • klkchrtoxml • kluchrtoxml Two applications are also included: • FontProoferX • MorxTester The tools require that the following framework be installed as well: • FTX.framework These tools encompass most of the key functionality of our older font tools and considerable new functionality. We hope to be able to provide fuller functionality as time progresses. Unlike our older tools, the bulk of our new tools are all command-line tools. This means that one typically runs them from within the Terminal application and not by double-clicking on them. There are a number of advantages to this: 1) Command-line utilities are faster to launch and run. 2) Command-line utilities can have options specified when they’re launched, rather than by manipulating menus after launch. 3) Command-line utilities can be executed

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    79 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us