Acrobat Widths-Only CIDFont Tutorial ADOBE SYSTEMS INCORPORATED

Similar documents
Simple Text Setting Calculations for PostScript Language Drivers

The Adobe-CNS1-6 Character Collection

Using save Outside the Server Loop

Recording Output Intentions for Color Critical Workflows ADOBE SYSTEMS INCORPORATED

CID-Keyed Font Technology Overview

Level 2 Compatibility: The setscreen and currentscreen Operators

The StemSnap Hint Operator for Type 1 Font Programs

Supporting Level 2 Functionality

Adobe Acrobat Reader Help

How to Use These Tutorials Adobe Acrobat Tour Creating a Presentation Capturing and Cataloging About the Acrobat Tutorials

Organize and Deliver Digital Assets Using Adobe Experience Manager v6.x Student Workbook

Emulation of the setstrokeadjust Operator

FontLab. TECHNICAL NOTE #002 (Mac) Keyboard shortcuts. Copyright 2001 FontLab Ltd. THE DIGITAL TYPE DESIGN TOOLKIT

Photofont Start 2.0. for Macintosh and Windows. User Manual

ADOBE EXPERIENCE MANAGER DAM CONNECTOR FOR ADOBE DRIVE CC: TECHNICAL NOTE

Font information interchange -- Part 3: Glyph shape representation Amendment 2: Additional Shape Representation Technology for Open Font Format

bbc Overview Adobe Acrobat SDK November 2006 Version 8.0

Font Switching Optimizations

Printer Systems-Based Separations

User s Guide to Creating PDFs for the Sony Reader

Océ User manual. Océ PRISMAprepare Printer settings

Everything You Wanted to Know About Adobe Acrobat Annotation Handlers But Were Afraid to Ask

SUPPORT MATRIX. HYCU OMi Management Pack for Citrix

What s New in Adobe InDesign CS4 Products SDK

Adobe Font Metrics File Format Specification

Conversion SDK v11 32-bit and 64-bit

Portable Document Format Reference Manual Version 1.2

Mobile On the Go (OTG) Server

Disclaimer; No Warranty Copyright Trademarks

PDF PDF PDF PDF PDF internals PDF PDF

The Adobe-Japan1-6 Character Collection

ADOBE CREATIVE SUITE 5: PRICING OVERVIEW

Adobe. Type Manager 4.1. User Guide

Server Installation Guide

Océ User manual. Printer drivers. Printer driver installation

This ReadMe contains information about installing Acrobat Reader 4.0 for Windows and Troubleshooting Issues.

Microsoft Dynamics GP. Purchase Vouchers

User Guide for Cisco Jabber for Mac 11.6

English. Delta2D ANALYZING 2D GELS AS EASY AS POINT AND CLICK EXPLORING LIFE

Timing Techniques. Adobe Developer Support. Technical Note # March Adobe Systems Incorporated

Cisco TEO Adapter Guide for SAP Java

x10data Smart Client 7.0 for Windows Mobile Installation Guide

SpellCheck for Dynamics GP

English. Preps. Creating Files for Preps From Acrobat 7 on Mac OS. graphics.kodak.com. Internal A-EN Rev A

bbc Migrating and Sharing Secuity Settings: Using Security Settings Import/Export and FDF Files Acrobat and Adobe Reader PDF Creation Date:

A Short Introduction to PDF

Microsoft Dynamics GP. Inventory Kardex

x10data Smart Client 6.5 for Windows Mobile Installation Guide

Adobe Serial and Parallel Communications Protocols Specification

Pipeliner CRM Arithmetica Guide Importing Accounts & Contacts Pipelinersales Inc.

The event began with the following post by Melissa in the pdftex mailing list:

Supporting Data Compression in PostScript Level 2 and the filter Operator

Adobe RoboHelp (2019 release)

HTMLDOC On Line Help

WorkPlace Agent Service

Adobe Acrobat 7.0 Curriculum Guide Lesson Twelve

0WebMaker 3.0 Release Notes

SAP Workforce Performance Builder 9.5

Nimsoft Monitor. proxy Guide. v3.1 series

SQL Optimizer for IBM DB2 LUW 4.3.1

Design your source document with accessibility in mind. Do NOT use character formatting for headings, use the program s styles.

Intel Setup and Configuration Service. (Lightweight)

Migration and Upgrade: Frequently Asked Questions

ISO/IEC INTERNATIONAL STANDARD. Information technology Coding of audio-visual objects Part 22: Open Font Format

Adobe Acrobat Family Digital editions

NVIDIA CUDA C GETTING STARTED GUIDE FOR MAC OS X

Mobile Admin GETTING STARTED GUIDE. Version 8.2. Last Updated: Thursday, May 25, 2017

IronPort Plug-in for Outlook VERSION 1.5 RELEASE NOTES

SUPPORT MATRIX. Comtrade OMi Management Pack for Citrix

TouchPad Interfacing Guide Addendum: Multiple-Button Support Specification

GRID SOFTWARE FOR RED HAT ENTERPRISE LINUX WITH KVM VERSION /370.28

Mindjet on-premise Release Notes: Version 3.1

Cisco TEO Adapter Guide for Microsoft System Center Operations Manager 2007

Intel Setup and Configuration Service Lite

PDF and Accessibility

Contents. Founder RealDot Viewer. Quick Guide. September Beijing Founder Electronics Co., Ltd.

Threat Analysis Reporter

Visual Quick Start Guide for Windows

Cisco Jabber Video for ipad Frequently Asked Questions

Quark GWG PDF Styles: MagazineAds_1v4 (Direct to PDF Workflow)

April Understanding Federated Single Sign-On (SSO) Process

GETTING STARTED GUIDE. Mobile Admin. Version 8.2

Exporting to the ActiveX Viewer

GemBuilder for Java Release Notes

TRANSPARENT AUTHENTICATION GUIDE

Synapse InSite. Version 4.0. Customer Quick Start Guide English.

ADOBE PROVISIONING TOOLKIT ENTERPRISE EDITION

IC-309 Print Controller, Powered by Creo Server Technology, for the Konica Minolta bizhub PRESS C1070/C1070P/C1060

RELEASE NOTES: Alteon Switched Firewall. Release 3.0.4

CHECK PROCESSING. A Select Product of Cougar Mountain Software

How to Integrate Google Maps into a Web Dynpro ABAP Application Using the Page Builder

Release Highlights for BluePrint 5.2

Getting Started with Tally.Developer 9 Alpha

DocAve Backup for Salesforce. Release Notes

DC Detective. User Guide

PostScript Japanese Font File Organization Overview

Enthusiast System Architecture Certification Feature Requirements

Ensim WEBppliance Pro for Windows 2000 (ServerXchange ) Installation Guide

Aprimo Marketing Studio Configuration Mover Guide

HP DesignJet 3500CP Printing Guide for Windows

Transcription:

bbc Acrobat Widths-Only CIDFont Tutorial Technical Note #5412 ADOBE SYSTEMS INCORPORATED Corporate Headquarters 345 Park Avenue San Jose, CA 95110-2704 (408) 536-6000 http://partners.adobe.com April 12, 2001

Copyright 2001 Adobe Systems Incorporated. All rights reserved. NOTICE: All information contained herein is the property of Adobe Systems Incorporated. No part of this publication (whether in hardcopy or electronic form) may be reproduced or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written consent of the Adobe Systems Incorporated. PostScript is a registered trademark of Adobe Systems Incorporated. All instances of the name PostScript in the text are references to the PostScript language as defined by Adobe Systems Incorporated unless otherwise stated. The name PostScript also is used as a product trademark for Adobe Systems implementation of the PostScript language interpreter. Except as otherwise stated, any reference to a PostScript printing device, PostScript display device, or similar item refers to a printing device, display device or item (respectively) that contains PostScript technology created or licensed by Adobe Systems Incorporated and not to devices or items that purport to be merely compatible with the PostScript language. Adobe, the Adobe logo, Acrobat, the Acrobat logo, Acrobat Capture, Acrobat Catalog, Acrobat Exchange, Acrobat Search, Distiller, Illustrator, Photoshop, PostScript, and the PostScript logo are trademarks of Adobe Systems Incorporated. Apple, Macintosh, and Power Macintosh are trademarks of Apple Computer, Inc., registered in the United States and other countries. ActiveX, Microsoft, Windows, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and other countries. UNIX is a registered trademark of The Open Group. All other trademarks are the property of their respective owners. This publication and the information herein is furnished AS IS, 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, makes no warranty of any kind (express, implied, or statutory) with respect to this publication, and expressly disclaims any and all warranties of merchantability, fitness for particular purposes, and noninfringement of third party rights.

Contents Chapter 1 Acrobat Widths-Only CIDFont Tutorial............ 1 1.1 Introduction........................................... 1 1.2 Differences Between CIDFonts & Widths-Only CIDFonts................... 1 1.3 Installing & Using Widths-Only CIDFonts........................... 3 iii

iv Contents

1 Acrobat Widths-Only CIDFont Tutorial 1.1 Introduction Widths-only CIDFont files are almost identical to genuine CIDFont files, except that they have a special /WidthsOnly keyword in the header, and provide only advance widths for each CID. Hence, they are referred to as widths-only CIDFonts. Widths-only CIDFonts are used by Acrobat Distiller, Version 4.0 and later, when it encounters a PostScript file that contains a reference to a font whose outlines are not otherwise available. Widths-only CIDFonts allow Acrobat Distiller to create a metrically-correct PDF files. Detailed information on how to build genuine CIDFont files can be found in Adobe Technical Note #5014, Adobe CMap and CID Font Files Specification Version 1.0, which is available from the ASN (Adobe Solutions Network) Developer Program at the following URL: http://partners.adobe.com/asn/developer/technotes/main.html 1.2 Differences Between CIDFonts & Widths-Only CIDFonts Widths-only CIDFonts and CIDFonts differ in a small number of ways, enumerated as follows: There is a new keyword in the CIDFont header, which is set to true: /WidthsOnly true def This keyword, when set to true, tells Acrobat Distiller that this is a widths-only CIDFont, and needs to be treated accordingly. The /FontBBox array in the CIDFont header should be set the same as the genuine CIDFont. For the widths-only KozMinPro-Light CIDFont, it is set as follows: /FontBBox [ -191-272 1104 1071 ] def This information is used by Distiller, and helps a widths-only CIDFont behave much like the genuine CIDFont. 12 April 01 1

1 Acrobat Widths-Only CIDFont Tutorial Differences Between CIDFonts & Widths-Only CIDFonts The charstrings for each CID shall look like those in the following three examples, shown in human-readable form: 0 1000 hsbw 0 callsubr endchar 0 280 hsbw 0 callsubr endchar 0 1000 hsbw 0 callsubr endchar Note how the first and third charstrings are identical. These example charstrings are taken from CIDs 0, 1, and 1200 of the CIDFont KozMinPro-Light. CID=0 has a full width (1,000 units), CID=1 has a proportional width (280 units), and CID=1200 has a full width (1,000 units). Compare the above with the charstrings in the genuine CIDFont: 100 1000 hsbw 0 50 vstem 750 50 vstem -120 50 hstem 830 50 hstem -120 vmoveto 800 hlineto 1000 vlineto -800 hlineto closepath 400-459 rmoveto -318 409 rlineto 636 hlineto closepath -286-450 rmoveto 318 409 rlineto -818 vlineto closepath -668-41 rmoveto 318 409 rlineto 318-409 rlineto closepath -668 859 rmoveto 318-409 rlineto -318-409 rlineto closepath endchar 0 280 hsbw endchar 42 1000 hsbw 0 917 vstem 378 29 hstem 8 378 rmoveto 854 hlineto 30 0 15 6 10 20 rrcurveto -112 78 rlineto -59-75 rlineto -746 hlineto closepath endchar Specifically, the hints and contour descriptions are replaced by the same subroutine call ( 0 callsubr ), but the width information remains. Note how the value immediately before the specified width, called the left side bearing value, is changed to 0 (zero) for all charstrings. Each hint dictionary shall contain exactly one subroutine, defined as follows: 0-120 rmoveto 1000 hlineto 1000 vlineto -1000 hlineto closepath return The "0 callsubr" in each charstring references the above subroutine definition. The /leniv in each hint dictionary shall be set to a value of 1, meaning that all charstrings are clear, thus lacking Type 1 encryption. NOTE: It is not absolutely necessary to subroutinize the charstrings as described above, but it is recommended for space savings. The basic requirement is that the charstrings must encode the same set width as the corresponding charstring in the genuine CIDFont, and must contain a path that draws a solid em-box relative to the origin. Lastly, a widths-only CIDFont is named exactly the same as its genuine counterpart. 2 12 April 01

Acrobat Widths-Only CIDFont Tutorial Installing & Using Widths-Only CIDFonts 1 1.3 Installing & Using Widths-Only CIDFonts Widths-only CIDFonts must be installed into Acrobat Distiller s private CIDFont directory in order to be recognized and used. That directory, for both Macintosh and Windows, is located as follows: Mac OS: Distiller:Data:psdisk:Resource:CIDFont: Windows: Distillr\Data\psdisk\Resource\CIDFont\ When widths-only CIDFonts are used, PDF files with font references are created. It s not possible to embed widths-only CIDFonts, because the only meaningful information that they contain are advance widths. Bear in mind that there are limitations in how Acrobat substitutes CJKV fonts. If the original font is not available when the PDF file is printed or displayed, then a substitution font is selected that may or may not match the original font in weight or style. Substitution of glyphs that use proportional widths is only supported for proportional Latin glyphs (that is, kana glyphs that use proportional widths will not be displayed or printed correctly when a substitution font is used). When thumbnails are automatically created by Distiller, the use of widths-only CIDFonts that conform to these specifications will result in boxes appearing in the thumbnails. If the thumbnails are generated (or regenerated) using the Acrobat Viewer, this problem does not occur, because Acrobat Viewer does not have access to the widths-only CIDFonts. To ensure that a PDF file will be printed and displayed as the original document, the original font, containing all needed outline glyphs, must be embedded in the PDF file. 12 April 01 3

1 Acrobat Widths-Only CIDFont Tutorial Installing & Using Widths-Only CIDFonts 4 12 April 01