Adobe Type 1 Font Format

Adobe Type 1 Font Format

Adobe Systems Incorporated

Addison-Wesley Publishing Company, Inc. Reading, Massachusetts ? Menlo Park, California ? New York Don Mills, Ontario ? Wokingham, England ? Amsterdam Bonn ? Sydney ? Singapore ? Tokyo ? Madrid ? San Juan

Library of Congress Cataloging-in-Publication Data

Adobe type 1 font format / Adobe Systems Incorporated.

p. cm

Includes index

ISBN 0-201-57044-0

1. PostScript (Computer program language) 2. Adobe

Type 1 font (Computer program) I. Adobe Systems.

QA76.73.P67A36 1990

686.2'2544536--dc20

90-42516

Copyright ? 1990 Adobe Systems Incorporated.

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Adobe Systems Incorporated and Addison-Wesley, Inc.

Printed in the United States of America. Published simultaneously in Canada.

The information in this book is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in this book. The software described in this book is furnished under license and may only be used or copied in accordance with the terms of such license.

Please remember that existing font software programs that you may desire to access as a result of information described in this book may be protected under copyright law. The unauthorized use or modification of any existing font software program could be a violation of the rights of the author. Please be sure you obtain any permission required from such authors.

PostScript, the PostScript logo, Display PostScript, Adobe, and the Adobe logo are trademarks of Adobe Systems Incorporated registered in the U.S. Adobe Type Manager is a trademark of Adobe Systems Incorporated. IBM is a registered trademark of International Business Machines Corporation. Macintosh and LaserWriter are registered trademarks of Apple Computer, Inc. Helvetica and Optima are trademarks of Linotype AG and/or its subsidiaries. ITC Stone is a registered trademark of International Typeface Corporation. Other brand or product names are the trademarks or registered trademarks of their respective holders.

3456789-MU-96959493 Third printing, February 1993, Version 1.1

Contents

Chapter 1: Introduction ................................................................. 1 1.1 What Is a Type 1 Font Program?.................................................... 2 1.2 What This Document Does............................................................ 3 1.3 Versions and Compatibility ........................................................... 4 1.4 Copyrights for Type 1 Font Programs............................................ 5

Chapter 2: Font Program Organization.......................................... 7 2.1 Building Characters........................................................................ 7 2.2 Font Dictionary .............................................................................. 9 2.3 Explanation of a Typical Font Program ....................................... 10 2.4 Inside the Encrypted Portion....................................................... 14 2.5 Unique Identification Numbers and Font Names ....................... 17

Chapter 3: Character Outline Considerations ............................... 21 3.1 Character Geography ................................................................... 21 3.2 Alignments and Overshoots ........................................................ 23 3.3 Character Coordinate Space ........................................................ 25 3.4 Character Paths ............................................................................ 26 3.5 Direction of Paths ........................................................................ 27 3.6 Overlapping Paths........................................................................ 28

Chapter 4: Technical Design Considerations ................................. 29 4.1 Points at Extremes........................................................................ 29 4.2 Tangent Continuity ..................................................................... 30 4.3 Conciseness .................................................................................. 31 4.4 Consistency.................................................................................. 32

i

Chapter 5: Private Dictionary ....................................................... 35

5.1 Declarative Hints.......................................................................... 35 5.2 Font Level Hints........................................................................... 36 5.3 BlueValues .................................................................................... 36 5.4 OtherBlues.................................................................................... 38 5.5 FamilyBlues and FamilyOtherBlues ............................................. 38 5.6 BlueScale....................................................................................... 39 5.7 BlueShift ....................................................................................... 40 5.8 BlueFuzz ....................................................................................... 41 5.9 Stem Width Information ............................................................. 42 5.10 ForceBold...................................................................................... 43 5.11 LanguageGroup............................................................................ 44 5.12 lenIV............................................................................................. 45 5.13 Compatibility Entries................................................................... 45 5.14 ExpansionFactor........................................................................... 45

Chapter 6: CharStrings Dictionary................................................ 47

6.1 Charstring Encoding .................................................................... 47 6.2 Charstring Number Encoding...................................................... 48 6.3 Charstring Command Encoding.................................................. 48 6.4 Charstring Command List ........................................................... 49 6.5 Character Level Hints................................................................... 56 6.6 Encoding Example ....................................................................... 58

Chapter 7: Encryption .................................................................. 61

7.1 Encryption Method...................................................................... 61 7.2 eexec Encryption.......................................................................... 63 7.3 Charstring Encryption ................................................................. 64

Chapter 8: Using Subroutines ....................................................... 67

8.1 Changing Hints Within a Character ........................................... 69 8.2 Dot Sections ................................................................................. 71 8.3 Flex ............................................................................................... 72 8.4 First Four Subrs Entries................................................................. 78

Chapter 9: Special Font Organizations ......................................... 79

9.1 Synthetic Fonts ............................................................................ 79 9.2 Hybrid Fonts ................................................................................ 80

Chapter 10: Adobe Type Manager Compatibility .......................... 83

10.1 Simple Values ............................................................................... 84 10.2 Arrays ........................................................................................... 84 10.3 Keywords ...................................................................................... 85

ii

Adobe Type 1 Font Format

Appendix 1: Private Dictionary Entries ......................................... 87 Appendix 2: Charstring Command Values .................................... 89 Appendix 3: OtherSubrs Programs ............................................... 91 Appendix 4: Changes................................................................... 97 Index ............................................................................................ 99

Contents

iii

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download