emc documentsciences xpression// 12 chapter2 images...

92
EMC ® Document Sciences ® xPression ® Version 4.5 SP1 xPublish Output Processing Guide EMC Corporation Corporate Headquarters Hopkinton, MA 01748-9103 1-508-435-1000 www.EMC.com

Upload: ngoanh

Post on 29-Mar-2018

233 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

EMC® Document Sciences®

xPression ®

Version 4.5 SP1

xPublish Output Processing Guide

EMC CorporationCorporate Headquarters

Hopkinton, MA 01748-91031-508-435-1000www.EMC.com

Page 2: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Legal Notice

Copyright © 2003-2015 EMC Corporation. All Rights Reserved.

EMC believes the information in this publication is accurate as of its publication date. The information is subject to changewithout notice.

THE INFORMATION IN THIS PUBLICATION IS PROVIDED “AS IS.” EMC CORPORATIONMAKES NO REPRESENTATIONSOR WARRANTIES OF ANY KINDWITH RESPECT TO THE INFORMATION IN THIS PUBLICATION, AND SPECIFICALLYDISCLAIMS IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Use, copying, and distribution of any EMC software described in this publication requires an applicable software license.

For the most up-to-date listing of EMC product names, see EMC Corporation Trademarks on EMC.com. Adobe and Adobe PDFLibrary are trademarks or registered trademarks of Adobe Systems Inc. in the U.S. and other countries. All other trademarksused herein are the property of their respective owners.

Documentation Feedback

Your opinion matters. We want to hear from you regarding our product documentation. If you have feedbackabout how we can make our documentation better or easier to use, please send us your feedback directly [email protected]

Page 3: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Table of Contents

Revision History .................................................................................................................. 9

Chapter 1 Introduction ................................................................................................. 11Information Boxes ............................................................................................ 11xPressionHome ................................................................................................ 11EMC Document Sciences Technical Support ....................................................... 11

Chapter 2 Images ......................................................................................................... 13Bit Depth ......................................................................................................... 13Black and White ........................................................................................... 13Diffusion Dither Pattern ............................................................................ 14Halftone Screen ........................................................................................ 14

Grayscale ..................................................................................................... 14Indexed Color .............................................................................................. 14RGB............................................................................................................. 14CMYK ......................................................................................................... 15RGB vs CMYK.............................................................................................. 15Spot Colors and Highlight Color.................................................................... 15

Advanced Features ........................................................................................... 16Transparency ............................................................................................... 16Clipping Path ........................................................................................... 16Transparent Pixels .................................................................................... 16

Translucency ................................................................................................ 16Color Management ....................................................................................... 16Vector Graphics ............................................................................................ 17Metafile Formats .......................................................................................... 17

Reproducing Images on Digital Devices ............................................................. 17How Printers Work....................................................................................... 17PDF ......................................................................................................... 19

Halftone Screens........................................................................................... 19Optimizing Images for Your Printing Process ..................................................... 20File Size and Performance ............................................................................. 21Bit Depth ..................................................................................................... 21Image Size.................................................................................................... 21Cropping Images...................................................................................... 22

Compression ................................................................................................ 22Lossless Compression ............................................................................... 22Lossy Compression................................................................................... 23

Right Sizing Files .......................................................................................... 23Resampling Images ...................................................................................... 23Maintaining Consistent Color........................................................................ 24Suggestions for Resolution ............................................................................ 24Scanned Images............................................................................................ 25

Choosing Which Image Format to Use ............................................................... 25Supported Image Types ................................................................................ 25

3

Page 4: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Table of Contents

Some Unsupported Image Types ................................................................... 26Image Support vs Feature Support................................................................. 27Transparency Support............................................................................... 27

PDL Native Support ..................................................................................... 28PCL ......................................................................................................... 29

xPresso for Adobe InDesign Images............................................................... 29Storing Images in the xPression Repository .................................................... 29Images by Application .................................................................................. 31Use G4 TIFF for Monochrome Images ............................................................ 32PDF Images.................................................................................................. 32JPEG Images ................................................................................................ 33JPEGs in AFP and PostScript Output.......................................................... 33Inline JPEGs in AFP Output ...................................................................... 33JPEG Rendered in CMYK .......................................................................... 34

TIFF Images ................................................................................................. 34EPS Images .................................................................................................. 35ICC Color Profile Support ............................................................................. 35

Picking the Right Format for the PDL................................................................. 36How xPression Decides Which Format to Use ................................................ 36Image Type Limitations ................................................................................ 37How xPression Determines the Image DPI ..................................................... 37How to Customize the Image Format Selection............................................... 37Customizing Image Format Selection ......................................................... 38Customizing Output Stream Image Format Selection .................................. 38

General Image Type Recommendations for Your PDL ..................................... 40Bar Code Images .......................................................................................... 40

Images in xPresso Documents ........................................................................... 41Embedding Images ....................................................................................... 41External Images............................................................................................ 41Structuring Relative External Image References .......................................... 42

Working with Images in Your Document........................................................ 42Scaling Images ......................................................................................... 42Transparency and Opacity in InDesign....................................................... 43

How xPression Handles Images ........................................................................ 44The xAdmin Image Utility............................................................................. 44Importing an Image to the Image Management Utility ................................ 46

Images in Your xDesign Documents............................................................... 46Images in Your xPresso Documents ............................................................... 46Printer Resident Images ................................................................................ 47Image Optimization in AFP Output ............................................................... 47

Going into Production ...................................................................................... 48

Chapter 3 Using Fonts ................................................................................................. 49Anatomy of a Font............................................................................................ 49Glyphs......................................................................................................... 49Font Metrics ................................................................................................. 49

Encoding ......................................................................................................... 50Single Byte and Double Byte ......................................................................... 50WINANSI .................................................................................................... 50Unicode ....................................................................................................... 52

Font Formats .................................................................................................... 52Adobe Type 1 ............................................................................................... 53Issues with Type 1 Fonts ........................................................................... 53

TrueType (.TTF)............................................................................................ 53OpenType .................................................................................................... 54AFP Fonts .................................................................................................... 54

4

Page 5: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Table of Contents

Using Fonts...................................................................................................... 54Embedding Fonts ......................................................................................... 55Printer Resident Fonts................................................................................... 55Subsetting .................................................................................................... 56User-Created Fonts ....................................................................................... 56

How xPression Handles Fonts ........................................................................... 56The Font Management Utility........................................................................ 57Large Character Fonts ................................................................................... 58Asian Typography Support ....................................................................... 58

Fonts in Your xDesign Documents ................................................................. 59Fonts in Your xPresso Documents .................................................................. 59Migrating Fonts............................................................................................ 59

Fonts and Page Description Languages .............................................................. 60Using Fonts in PostScript Output................................................................... 60Emitter Support........................................................................................ 60Force the Use of Type 1 Fonts .................................................................... 60Converting TTF and OTF Fonts to Type 1 ................................................... 61

Using Fonts in PDF Output ........................................................................... 62Embedding Fonts in xPublish .................................................................... 62

Using Fonts in AFP Output ........................................................................... 63TrueType Fonts in AFP ............................................................................. 64Manually Converting TrueType to AFP Outline .......................................... 65Bullet Characters ...................................................................................... 65AFP Foreign Language Support................................................................. 65Thai Fonts in AFP Output ..................................................................... 66

Emitter Support........................................................................................ 67Converting Type 1 Fonts into AFP Outline Fonts ........................................ 67Creating AFP Files that Do Not Embed Fonts ............................................. 68

Using Fonts in PCL Output ........................................................................... 68Emitter Support........................................................................................ 69Using PCL Fonts with xPression ............................................................... 70Convert TrueType Fonts to PCL............................................................. 70Configuring the PCLFontMapping Property........................................... 71Parameters ....................................................................................... 71

Fonts and Data Driven Graphics ........................................................................ 71Converting Fonts to FSD Format.................................................................... 72

Chapter 4 Page Description Languages ...................................................................... 75AFP ................................................................................................................. 75AFP Foreign Language Support..................................................................... 76Images ......................................................................................................... 76Images on the Server................................................................................. 77JPEG Images ............................................................................................ 77xPresso for Adobe InDesign Image Fit Options........................................... 77CMYK Images .......................................................................................... 77

Building TLE Items....................................................................................... 77AFP PPD Files .............................................................................................. 78Reverse Printing ........................................................................................... 78Rotating Pages.............................................................................................. 78Resource IDs ............................................................................................... 78Limitations............................................................................................... 79

Mixed Orientation AFP Output .................................................................... 79Limitations............................................................................................... 80

Rotated Frames in AFP Output...................................................................... 80HTML ............................................................................................................. 80PCL ................................................................................................................. 80

5

Page 6: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Table of Contents

PCL Font Support......................................................................................... 81Images in PCL .............................................................................................. 81PCL PPD Files .............................................................................................. 82

PDF ................................................................................................................. 82Using PDF in xPression ................................................................................ 83Fonts in PDF ................................................................................................ 83Embedding Fonts in xPublish .................................................................... 83

Images in PDF .............................................................................................. 84ICC Color Profiles..................................................................................... 84

Reverse Printing ........................................................................................... 84Rotating Pages 180 Degrees ........................................................................... 84

PostScript......................................................................................................... 84PostScript PPD Files...................................................................................... 85Reverse Printing ........................................................................................... 85Rotating Pages 180 Degrees ........................................................................... 85Images in PostScript ..................................................................................... 85

PPML .............................................................................................................. 86Text ................................................................................................................. 86TIFF................................................................................................................. 86

Chapter 5 Glossary ...................................................................................................... 89Adobe Type 1 Fonts .......................................................................................... 89Bit Depth ......................................................................................................... 89Embedding ...................................................................................................... 89Encoding ......................................................................................................... 89Font Metrics ..................................................................................................... 90Glyphs............................................................................................................. 90ICC Color Profiles............................................................................................. 90Kerning ........................................................................................................... 90Lossless Compression ....................................................................................... 90Lossy Compression........................................................................................... 91Page Description Language (PDL) ..................................................................... 91Pixels ............................................................................................................... 91Resolution........................................................................................................ 91Spot Color........................................................................................................ 91Subsetting ........................................................................................................ 92Unicode ........................................................................................................... 92WINANSI ........................................................................................................ 92

6

Page 7: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Table of Contents

List of Tables

7

Page 8: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Table of Contents

8

Page 9: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Revision History

Revision Date Description

August, 2015 Updated TIFF Images, page 34.

June, 2014 Initial publication

9

Page 10: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Preface

10

Page 11: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Chapter 1Introduction

This guide provides in-depth information about managing fonts and images in the xPression outputprocessing system. Some information relates to specific versions of the server and may not applyto all versions.

Information BoxesThe following colored boxes alert you to special information in the documentation.

Caution: The caution box warns you that a fatal error, unsatisfactory output, or loss of data mayoccur if you do not follow the directions carefully.

Tip: A tip offers suggestions to simplify a task or describes a useful shortcut. They may also describean alternate way to use the techniques described in the text.

Note: A note offers information that emphasizes or supplements important points of the main text.

xPressionHomeThe term “xPressionHome” refers to the location where xPression was installed on your server. Bydefault on Windows servers, the location is C:\xPression, but your installer may have selecteda different location during installation. Please consult with your administrators or IT personnel todetermine the location where they installed xPression. Throughout the xPression documentation, wewill refer to this location as “xPressionHome”.

EMC Document Sciences Technical SupportFor more information or to solve a problem, you can contact EMC Document Sciences TechnicalSupport in one of the following ways:

Online Support: https://support.emc.com

Telephone Support:

11

Page 12: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Introduction

United States: 800-782-4362Canada: 800-543-4782Worldwide: +1-508-497-7901

For additional worldwide access numbers, visit:

http://www.emc.com/collateral/contact-us/h4165-csc-phonelist-ho.pdf

12

Page 13: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Chapter 2Images

The simplest definition of a digital image is that it is a rectangular array of pixels. The pixel is thesmallest and most basic unit of a digital image. Think of a piece of graph paper, where each squarecan be a color. A pixel plays the same role in a digital image.

When images are represented on an imaging device at a particular size, they acquire resolution. Theresolution of an image is the number of pixels per unit measure when displayed on a particularimaging device.

For example, if you display a 100 x 100 pixel image at a size of 1” by 1”, the image resolution would be100 DPI (dots per inch). The same image could be scaled to 2"x2" and would then have the resolutionof 50 DPI. Notice that the image itself does not have resolution, it only acquires resolution whendisplayed at a particular size. Some image formats include the image size in their definition, but thisconcept is artificial and exists only because it is convenient for many applications.

Digital images are represented as raster images or vector graphics. Raster graphics represent imagesas a collection of pixels. Vector graphics use a series of drawing commands in a page descriptionlanguage designed to draw the graphic at the resolution of the output device.

Bit DepthIf a pixel is a square on a piece of graph paper (that represents your image) then Bit Depth, page 13 isthe number of colors you can use to fill that square. With a binary image (1-bit per pixel), you haveonly one color - black (the paper is white). With a CMYK image (32-bit per pixel), you can useup to 4,294,967,296 different colors.

Black and White

The smallest type of image is the binary image where one bit is used to represent each pixel. With thistype of image, photographic gray tones can be reproduced using several methods.

13

Page 14: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Diffusion Dither Pattern

Dithering scatters different colored pixels in an image to make it appear as though there areintermediate colors in images with a limited color palette.

Halftone Screen

The more common way to represent shades of gray in a black and white raster format is the halftonescreen. Halftone is a technique that simulates continuous tone imagery through the use of equallyspaced dots of varying size. This image has been reproduced using a halftone screen.

Grayscale

Grayscale images are composed exclusively of shades of neutral gray, varying from black at theweakest intensity to white at the strongest. Grayscale images use 8-bits per pixel. Each pixel isdefined as a black value between 0 and 255. Grayscale images are distinct from black-and-whiteimages in that they have many shades of gray in between black and white.

Indexed Color

Indexed color also uses only 8-bits per pixel, but adds color. Indexed color works by creating a paletteof colors (256) and only using those colors in the image.

When creating indexed color, the palette (the complete set of colors available) determines the colorfidelity. Programs that create indexed color files can either use a standard palette (like the standard256 color palette used byWindows) or an adaptive palette. To create an adaptive palette you must usea program that analyzes the colors in the image and picks the 256 that will best represent the image.

In all indexed color images, the original RGB or CMYK values are replaced by the closest palette valueusing dithering when necessary. Indexed color files can be grayscale, RGB or CMYK depending uponwhat values are in the palette. Successful use of indexed color depends upon the use of color in theimage and the skill of the developer who created the algorithm for picking the palette of colors to use.

RGB

The RGB color model is native to devices like televisions and computer monitors. It is called theAdditive model, because you start out with black, and if you add 100% of Red, Green, and Blue youget white.

In this model, each pixel is defined by 3 8-bit quantities representing red, green, and blue. 128, 128,128 would be a gray color. 0,0,0 would be black, and 255, 255, 255 would be white.

This is not the native color model for printing, and thus must be converted to CMYK before it can beprinted. As you will see in RGB vs CMYK, page 15, this is a highly subjective process.

14

Page 15: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

CMYK

In a CMYK image, each pixel is represented by 4 8-bit values, each representing the colors Cyan,Magenta, Yellow and Black.

This is the native color model for printing and is used for most print applications. There are colormodels with more colors that use additional colors (to more faithfully reproduce blues, flesh tonesetc.), but they are not supported by xPression. CMYK is called the subtractive color model becausethe paper starts out white, and by adding transparent ink, less and less light is reflected from thepaper to your eye.

RGB vs CMYK

RGB color can reproduce basically the same range of colors as CMYK with only 75% of the data, sowhy use CMYK? RGB to CMYK is more like a translation than a direct conversion. This translation ismuch like translating from one language to another.• As with language, some meaning (color) can be lost in the translation

• As with language when you translate RGB > CMYK > RGB you will not get the same value youbegan with

• As with language, the translation may be different depending upon who translates it (Photoshop,the printer, or xPression image converters)

Spot Colors and Highlight Color

Both RGB and CMYK color models use a number of colors in combination to recreate all colors.Spot or highlight color models do not attempt to recreate all colors, instead each color is printedwith its own ink.

Spot color is used when a process color (CMYK equivalent) is not sufficient. For example, if you areCoke, there is a specific "Coke Red" color that is required. If you are printing a color brochure, youwill use CMYK plus a spot color in "Coke Red." The spot color will only be used when printing thelogo or other things that you specifically want in that color.

Even though 5 colors are being used, the 5th color is NOT used in combination with CMYK, is used inspecific spots to provide an exact color match. It is not uncommon in high-end print applications touse many spot colors in addition to CMYK. When generating output, each highlight or spot color isgiven its own 8-bit image (256 shades).

In offset printing there are a number of ink vendors who sell specific colors of ink (For example,Pantone and Focoltone). PMS (Pantone Matching System) colors are very commonly used as spotcolor. When offset printing, you can use black plus one spot to be equivalent to digital highlight color,also at a much lower production cost.

15

Page 16: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Advanced FeaturesThere are a number of advanced features that are available when reproducing images. These featuresare extensions of the basic concept of an image and are not available in all client applications, printstreams or image formats. For a list of features and their support across image formats and PDLs,see Image Support vs Feature Support, page 27.

Transparency

Image transparency is the ability to define a portion of an image so that it does not appear, allowingthe background to show. Transparency allows the background to completely show through.

Images are rectangular arrays of pixels. If your image is not rectangular, you need transparencyto avoid displaying the full rectangular image.

This feature is not supported by every image format or by every page description language.

Clipping Path

In PostScript you can define an enclosed area (a path) that will be preserved while the rest of theimage is cut off or clipped.

Transparent Pixels

Certain pixels within the image can be designated as transparent. Where these pixels appear, theimage is transparent and the background shows through.

Translucency

Translucency is where various objects can be layered using the opacity setting available inapplications like Adobe InDesign.

This feature is not supported by xPression. The reason is that this is not a natural function provided byany print stream. The work around for this feature is to montage images in a program like Photoshop.

Color Management

Color management is the controlled conversion between the color representations of various devices(such as digital cameras, monitors, TV screens, film printers, computer printers, and offset presses)and corresponding media.

16

Page 17: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

The primary goal of color management is to obtain a good color match across devices such as printersand monitors. This goal is accomplished by measuring the response of each color managed deviceand compensating for its inaccuracies when displaying colors. Each managed device has an ICC(International Color Consortium) profile that describes its response.

Vector Graphics

Vector Graphics use a series of drawing commands in a page description language to draw thegraphic. Vector graphics are always images at the resolution of the output device (for PDF, thecomputer monitor). In a PDF file, you could zoom to 2000% and never see the effects of pixelization(the ability to see stair stepping or large pixels in an image). For this reason, vector files are called"resolution independent." The benefits of vector graphics are also apparent when printing documentsat high resolution.

Raster images have a fixed number of pixels. As you enlarge them, the pixels become larger and theresolution (the number of pixels per unit measure) goes down. For this reason raster images arecalled "resolution dependent."

CAD (Computer Aided Design) programs, Adobe Illustrator, CorelDraw and other programs cancreate vector graphic files. Outline fonts are also examples of vector graphics.

Metafile Formats

Certain programs allow you to combine vector graphics and images in a single file. These formats arecalled Metafile formats. The most well known are WMF (Windows Metafile), PostScript, and PDF.

Reproducing Images on Digital DevicesThe majority of xPression users produce electronic documents or documents for print on digitalprinters. This section will discuss the issues related to maintaining the balance between productionefficiency and image quality for these devices.

How Printers Work

In this section, we will walk through the process that illustrates how printers receive, process, andproduce xPression documents.

First, xPression produces an output file in one of several page description languages (PDLs) such asPDF, PostScript, AFP, or PCL. The file is sent to the printer through a batch or transactional process.

These files are then converted into binary images at the device resolution for each color to be printed.This process is called rasterization. In PostScript, this process is performed by the RIP (Raster Image

17

Page 18: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Processor). The rasterization or RIP process merges all images, vector graphics, and text into a singleimage that can be fed to the marking engine.

For example, if you have a 600 DPI Black and white printer, the result of the RIP process is a 1-bitimage at 600 DPI. For a full color printer, it would be 4 1-bit images corresponding to C, M, Y, and Kmarking engines. Next, the file is rasterized.

This image is transferred to the marking engine. In a laser printer, a laser aimed at a photo-sensitivedrum writes the image onto the drum of the printer. Each pixel is reproduce by having a laser shineor not shine at a point on the drum. This changes the magnetic qualities of the drum. As the drumturns it picks up magnetized plastic powder called toner.

Paper is charged with a reverse polarity so that it attracts the powder, and the paper passes by thedrum magnetically transferring the toner to the paper. The paper is then heated to a very hightemperature in a fusing unit to melt the toner onto the paper.

18

Page 19: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

PDF

PDF is viewed using Adobe Acrobat. Acrobat is an RGB RIP. It takes PDF files, which are in a metafileformat, rasterizes them to screen resolution in RGB, and displays them on your monitor. Whenprinting from Acrobat, the print driver converts the PDF into a PDL appropriate for your printer.

Halftone Screens

On most digital print devices, each color is defined by a 1-bit image. As a result, the image canonly contain ink or not contain ink.

19

Page 20: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

In order to simulated shades of gray, a process called halftoning or screening is

used.

The device pixels are divided into halftone cells, and some number of those pixels are colored toapproximate tints of the color being imaged.

In the sample above, the halftone cell is 8x8 pixels (64 total pixels). The cell on in the lower left handcorner has 32 pixels colored black and is representing 50% black. Because there are 64 total pixels, thisscenario can only represent 64 shades of gray.

The following list contains tips for using halftone screens:• When producing a screened photographic image, the effective resolution can be no higher thanthe screen frequency (typically between 60 and 130 lines per inch (LPI)) as a halftone cell canrepresent only one pixel of an image.

• The number of colors that can be represented in a halftoned image are directly related to theLPI of the screens used to reproduce them.

• The higher the LPI of the screen, the smaller the halftone cell in device pixels, and the fewer theshades of gray that can be reproduced.

• Despite the fact that we save images with 256 colors or gray shades, digital printing can notreproduce 256 shades of any color because of limits imposed by screens and by the devicesthemselves.

Optimizing Images for Your Printing ProcessBy default, xPression does a great job of optimizing the performance and quality of images used indocuments. In general, you don’t have to think too much about how they function, they just work.There are particular jobs and particular images that require fine tuning. Usually, there are two majorissues to consider: File size and image quality. Larger file sizes do not always equate to better quality.This section will focus on how to optimize file size for performance and quality.

20

Page 21: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

File Size and Performance

In PDL files, the image is usually the largest component and contributes most to the file size. Imagesslow down every document creation and management process:• Creating the PDL file (xPublish)

• Storage of the files (Network disk space)

• Spooling (Network bandwidth and maybe making another copy of the big files)

• Processing at the Printer (Printer or server in front of the printer)

• Archiving output (Archive system)

• Retrieval of archive output (Viewer)

In most workflows, large image file sizes affect performance in many different areas for each outputfile. If you are using many images, it makes sense to attempt to optimize them.

In general, handling large images will hurt the performance of any digital system, so it is alwaysin the interest of users to ensure your images are detailed enough to be good quality, and compactenough to lessen the impact on performance. There are three major things that effect image filesize: Bit depth, image size, and compression.

Bit Depth

Bit depth effects file size in a linear way. For example:

Binary (1-bit per pixel) = 1 MB

Grayscale or indexed color (8-bit per pixel) = 8 MB

RGB Color Image (24-bit per pixel) = 24 MB

CMYK Color image (32-bit per pixel) = 32 MB

As the bit depth is increased, the size of the file also increases based on the number of bits per pixel.

Image Size

Image size effects the file size in a non-linear way. For example, if you had a binary image sized to8.5” x 11” at 300 DPI, the total number of pixels can be calculated as follows:

8.5 x 11 x 300 x 300 = 1.05 MB

If we double the resolution we make the file four times bigger.

8.5 x 11 x 600 x 600 = 4.02 MB

21

Page 22: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Cropping Images

One way to reduce image file size is to ensure that the image is cropped tightly. This also ensures thatthe image is not larger than expected when used in a document. In some cases (such as with a scannedimage), there may be a lot of extra white space around the actual image that doesn’t need to beincluded. Cropping the image ensures that only the necessary image data is included in the image file.

Compression

Compression has both performance advantages and disadvantages. It can dramatically reduce filesizes, but also requires more processing time to perform compression and decompression.

With xPression, we have optimized compression and decompression so that in most cases theperformance benefits of compression outweigh the processing time required. There are two basictypes of image compression: Lossless and Lossy.

Lossless Compression

Lossless compression refers to compression techniques in which no data is lost. The PKZIP, ZIP, andTAR compression technologies are example of lossless compression. For most types of data, losslesscompression techniques can reduce the space needed by only about 50%. These compression schemesencode redundant data with a description of that data. For example:

000000000000000000000000000000000000000000000

Lossless compression can compress this redundant string in this way: 32 zeros

When Lossless compression decompress the string, it is reproduced exactly. If you think of imageslike faxed documents, there is a lot of white area that will compress very well. If you try the samething with the following string, you will notice that compression is not as effective:

010101010101010101010101010101010101010101010

In fact, when compressing non-repetitive data, file sizes can actually be larger after compressionthan before.

22

Page 23: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Lossy Compression

Refers to data compression techniques in which some amount of data is lost. Lossy compressiontechnologies attempt to eliminate redundant or unnecessary information. When you compress anddecompress data with lossy compression, you may retrieve data that is different from the original,but close enough to be useful in some way.

Lossy compression is most commonly used to compress multimedia data (MP3, video, JPEG). Whileyou lose data, the benefits to file size are substantial.

Lossy compression is most effective on photographic images, but the loss of quality may be morenoticeable when trying to produce line art and text.

Right Sizing Files

The general procedure for handling performance issues is to build the system as quickly andefficiently as possible, then test the performance. If the performance is not sufficient, you can look forways to improve it. This is the case when dealing with images in xPression.

However you must also consider the scale and lifetime impact of a job. If the job is large in scale orlong in duration, a few excessively large images could have a very high lifetime impact and should bedealt with despite the fact that they meet initial performance requirements.

Resampling Images

xPublish has the ability to resample images to a lower resolution, which results in smaller file sizes.Resampling is done at the Output Definition level. You can resample images for AFP, PostScript,PDF, and TIFF Output Definitions.

Output Definitions are one of the three components that make up an output stream. By resamplingimages in your Output Definition, you can control which documents are affected by creating multiplestreams. The primary use case for this feature is that it allows you to build a document for output inhigh-resolution print (300-600 DPI) and then create a stream for PDF that is at a lower resolution (forexample, 96 DPI). This dramatically decreases file sizes for PDF. The downside is that image qualityand color fidelity may suffer. Use this feature with caution.

Additionally, ICC profiles are not honored when the image is resampled. Do not use resampling withimages that use ICC profiles. For more information, see Color Management, page 16.

23

Page 24: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Maintaining Consistent Color

The biggest problem in maintaining consistent color is the subjective nature of the conversionbetween RGB and CMYK color. This will not be an issue for most images, but if high-fidelity coloris needed, follow these suggestions:• Use only RGB or only CMYK color. By eliminating this conversion, you ensure the colors willalways be consistent.

• Always include images that can be handled natively by the PDL. If you start with the image typethat is native to your PDL, that image type will be available when producing your documents.This ensures your colors remain consistent because there is no need for xPression to do anautomatic conversion of your images.

• ICC profiles are only honored in certain situations. For more information, see ICC Color ProfileSupport, page 35.

• Do not use the resampling feature if you are using images with ICC profiles, they will not behonored.

Suggestions for Resolution

Image resolution is usually the first setting to adjust when tuning for performance. As a generalguideline, the resolution for photographic images usually never needs to be more than 200 DPI. Todetermine an acceptable resolution for your images, print a representative image at 100, 125, 150,175, 200, 225, and 250 DPI. Compare the images and choose the lowest resolution that meets yourrequirements.

In many instances, it can be hard to tell the difference between images above 125 DPI. However, thiswill be different for different types of images. For example, if you are reproducing images thatcontain text and line-art, the resolution will need to be higher, but typically the bit depth can belower. For these files your test can range from 175 DPI to 400 DPI or higher depending the quality ofyour printing process.

Recommended DPI for color images (not line art) are as follows:• 150 DPI Acceptable Quality

• 200 DPI Good Quality

• 250 DPI Better Quality

• 300 DPI Best Quality

• 300–600 DPI only for very high-end offset and laser printing processes

Recommended DPI for line art (scans of text, very fine line art) are as follows:• 150 DPI Fax Quality

• 200 DPI Good Quality

• 250 DPI Better Quality

• 300 DPI Very Good Quality

• 300–600 DPI High-end Quality

24

Page 25: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Scanned Images

A common practice for getting images into digital form for publishing is to scan them. When youscan images, it is important to consider the following:• Scanned image DPI doesn’t have to equal the printer DPI. This can result in images that are muchlarger than necessary. For example, if your printer DPI is 1200, you should still scan images inat no more than 300 DPI (or the lowest DPI that gives the required quality). If you scan all theimages in at 1200 DPI, that is 800 DPI more information contained in each image than is mostlikely necessary to get quality output.

• Images should be scanned at the DPI required for the output. Lower DPI images can’t be resizedlater to work for a higher DPI output. Resizing a 72 DPI image to 300 DPI will not improve thelack of detail in the edges of the image that appears in the 72 DPI image.

• If the image is to be used in print output, don’t scan the image at 72–96 DPI. This DPI rangedoesn’t have enough resolution to create acceptable print output.

• If an image is to be used in print and archive output, scan the image at the acceptable print DPI,then save a lower resolution copy of the image for the archive output.

Choosing Which Image Format to UseAs we have learned, all images are rectangular arrays of pixels. Why should there be more than onefile format for storing them? Different formats are better for different types of images, and also fordifferent types of output devices. As a result, we have to perform a multi-dimensional analysis toresolve the issue.

When deciding what image format to use in your xPression documents, consider each output typethat may be created with the document. Choosing an image format that is supported for each ofthe required output types is a good idea. For example, JPEG images are supported for almost allxPression output types, so it’s a good choice for documents that will be output in several formats.

Supported Image Types

There are many things to consider when it comes to using images in your documents. Before youmake any decisions, it is important to know what image formats the xPression Publish publishingengine supports for each output format.

If the output format doesn’t support an image format, xPression will attempt to convert it to asupported format. For more information, see Picking the Right Format for the PDL, page 36. Whentalking about image support in xPression, there are two types of support: direct and indirect. Directlysupported image formats are supported by the output format, and are passed directly through to thepublishing engine. Indirectly supported image formats are supported by the output format only ifcompressed in a specific fashion. For indirectly supported image formats, xPression will extract thenecessary data and embed it, which may impact performance.

The following table details the xPression image support for each supported output format.

25

Page 26: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Image Format AFP DOCX HTML PCL PDF/PPML PostScript

BMP Unsupported DirectlySupported

DirectlySupported

Unsup-ported

Unsupported Unsupported

EPS Unsupported Unsupported Unsupported Unsup-ported

Unsup-ported

DirectlySupported

GIF Unsupported DirectlySupported

DirectlySupported

Unsup-ported

IndirectlySupported

Unsupported

JPEG (JFIF) DirectlySupported

DirectlySupported

DirectlySupported

Unsup-ported

DirectlySupported

DirectlySupported

PDF Unsupported Unsupported Unsupported Unsup-ported

DirectlySupported

Unsupported

PNG Unsupported DirectlySupported

DirectlySupported

Unsup-ported

IndirectlySupported

Unsupported

TIFF (Group4)

DirectlySupported

Unsupported Unsupported DirectlySupported

DirectlySupported

DirectlySupported

TIFF

(Monochrome)

IndirectlySupported

Unsup-ported

Unsup-ported

IndirectlySupported

DirectlySupported

DirectlySupported

TIFF(Grayscale)

Unsup-ported

Unsup-ported

Unsup-ported

Unsup-ported

DirectlySupported

DirectlySupported

TIFF (Color) Unsup-ported

Unsup-ported

Unsup-ported

Unsup-ported

DirectlySupported

DirectlySupported

Note:• xPression uses EPS images, not PostScript (PS) images. If you attempt to import PS imagesthrough xAdmin, xPression will create an exception. If you have PS images you want to usewith xPression, please recreate them as EPS.

• xPublish does not support AFP Highlight color. If xPublish encounters an AFP highlight colorimage, it will be converted to black and white.

• xPression supports only one type of CMYK image.for AFP output: CMYK TIFF images usingLZW compression.

Some Unsupported Image Types

The following image formats and types are not supported.

Image Type Description

Animated GIFs Animated GIFs are not supported. Animated GIFs are comprised of a numberof images in the same file. The animation effect occurs when an application,like Internet Explorer, switches between the images. If you import an animatedGIF, xPression extracts only the first image in the sequence.

26

Page 27: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Image Type Description

EPS Image with TIFFProof/Preview

If you import an EPS image that contains a TIFF proof or preview, xPressionwill only import the TIFF image because the TIFF proof precedes the EPSimage in the file. xPression will treat the image as a TIFF and not as an EPS.

Certain Compressed TIFFS xPression only supports the following compressions: Uncompressed, HuffmanRLE (CCITT 1D), Group 4, LZW and PackBits compressions.

Image Support vs Feature Support

This chart shows some popular image formats and the features that xPression can support in eachwhen the image is used as an external image. In some cases, if the image is embedded in a document,the host for the design tool may not support the feature. For example, in xDesign and xPresso forWord, a CMYK image embedded in the a document will be converted to RGB by Microsoft Word.

For more information on transparency, see Transparency Support, page 27.

BW Grayscale Indexed RGB CMYK Spot Transparency

JPEG no √ no √ √ no no

EPS √ √ √ √ √ √ SeeTransparencySupport

PDF √ √ √ √ √ √ √

GIF √ √* √ no no no √*

TIFF Color LZW andPackbits

√ √ √ √ √ no no

TIFF Mono LZW, G4,No Compression

√ no no no no no no

TIFF Huffman RLE √ no no no no no no

PNG no √ √ √ no no √

BMP √ √ √ √ no no no

* GIF grayscale and transparency are only supported for PDF output. The image may not outputcorrectly in other output types.

Transparency Support

27

Page 28: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Support for transparency in EPS images is limited according to the output format:• APF. AFP doesn’t support EPS, and converting EPS to a supported format for AFP will probablycause transparency to be lost.

• PostScript. Transparency is supported for PostScript output from xDesign, xPresso for AdobeInDesign, and xPresso for Word.

• PDF. PDF doesn’t support EPS, but does support transparency in other image formats. Iftransparency is need for images in PDF output, consider using another image format.

TIFF does support transparency; however the transparency that it produces is not supported byxPression. TIFF is a very open, flexible format that allows just about anything to be stored within it.Most applications, including xPression, support only a subset of what TIFF can do.

PDL Native Support

Ideally, it is best to choose image formats that are native to the output stream you are creating. Whenthe format is native to the output stream, the image can be copied without decoding into the PDL.When utilizing the xPublish content stamp feature with images, you must choose a format that issupported natively by the PDL. The following table identifies which image types and features arenatively supported for each PDL.

PDL Support Color / Feature Support

PDF PS AFP PCL BW Gray In-dexedColor

RGBColor

CMYKColor

SpotColor

Trans-parency

TIFF G4 √ √ √ √ √ no no no no no no

TIFFHuffmanRLE

√ √ √ no √ no no no no no no

TIFF LZWand Packbits

√ √ √ √ √ no no no no no no

TIFFuncomp

√ √ √ √ √ no no no no no no

JPEG √ √ √ no no √ no √ √ no no

EPS no √ √ no √ √ √ √ √ √ √

GIF √ no √ no √ √ √ no no no no

PDF √ no no no √ √ √ √ √ √ √

TIFF ColorLZW

√ no no no √ √ √ √ √ no no

PNG √ no no no no √ √ √ no no √

BMP no no no no √ √ √ √ no no no

28

Page 29: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

PCL

PCL 5 does not support color, and only supports black and white TIFF images. To get images tooutput in PCL, you must start with a G4 Tiff image.

xPresso for Adobe InDesign Images

When images are embedded in an xPresso for Adobe InDesign document, a conversion automaticallyoccurs during the packaging process. Only those images that are embedded are converted, imagesthat are externally referenced are not converted during packaging. The InDesign snapshot function isused to convert every embedded image to PNG and JPEG; EPS images are also converted to PDF.Each different image format is contained in the package. For all output formats, except PCL, thisconversion provides a supported image format for the xPression Publish publishing engine.

Storing Images in the xPression Repository

When you save an image in an xDesign document, upload an image to the xPression Repositorythrough xAdmin, or import an image through a PDPX, xPression stores the image in a particularformat, or series of formats. The following charts shows how xPression stores your images. Formatshighlighted in bold indicate that the format is the original file placed in the document.

Image Color Sub-Type

Format(s) Stored in thexPression Repository

Mono Huff RLE

Mono LZW

Mono Binary

G4

Mono G4 G4

Mono G3 G4

TIFF

Color JPEG PNG, JPEG

BMP RGB BMP, PNG, G4 (if BW), JPEG (ifcolor)

RGBEPS

CMYK

JPEG EPS, JPEG, PNG, PDF

RGBJPEG

CMYK

JPEG

RGBPDF

CMYK

PDF, EPS, PNG, JPEG

29

Page 30: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Image Color Sub-Type

Format(s) Stored in thexPression Repository

GIF Index GIF, PNG, G4 (for BW), JPEG(for color)

PNG RGB PNG, G4 (for BW), JPEG (forcolor)

30

Page 31: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Images by Application

The following table describes image requirements and suggested formats to fulfill the requirements.

Requirement Suggested Comments

Black and white

Small file size

CITT G4 TIFF This is a very standard, compact way to storemonochrome images.

CITT G4 TIFF is the format used by fax machines.

256 colors (8 bit)

Small file size

GIF This is a compact, web oriented format. It is suitedfor lower color fidelity applications with electronicformats.

Photographs

Electronic output

Transparency

PNG This is a compact RGB format that supportstransparency.

It is ideally suited for electronic outputs, but will notmaintain transparency in PostScript, and is limitedto RGB color.

High Quality Color

Photographs (RGB,CMYK)

JPG JPG is lossy, meaning that its file size is reduced byremoving parts of the image.

JPG is very compact and a great format forphotographs.

High Quality Color

Line art, photographs,clipping paths, etc.

All color models

EPS This format is only supported by PostScript andsome AFP devices.

This is the only format suitable for imagesapplications that require clipping paths.

When making PDF a PNG version of the EPS file iscreated. This PNG file will support clipping paths ifthey are contained in the EPS file.

Alpha channels are not supported for transparency.

CMYK or other colormodels

JPEG or EPS In EPS, any color model can be used, provided it issupported by the output device.

RGB JPEG, EPS, orPNG

Cropping All Cropping is supported

Rotation All Image rotation is supported.

Scaling All Scaling is supported

31

Page 32: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Requirement Suggested Comments

Transparency EPS withclipping path

This is the only format that will work fortransparency in PostScript.

When EPS files with clipping paths are used forPostScript, an RGBA PNG file is created for use inPDF. The RGBA (A is for alpha and indicates alphachannel support) allows for transparency in the PDFstream for EPS images.

All other methods of defining transparency are notsupported in PostScript.

Translucency All Translucency is not supported.

Opacity All Opacity is not supported.

Use G4 TIFF for Monochrome Images

For single bit images, G4 TIFF is the most popular option. It offers excellent compression anduniversal compatibility. Importantly, most output devices have specific hardware acceleration tosupport this format, increasing performance at the printer where it really counts. The PCL Emitteronly accepts G4, LZW and uncompressed monochrome TIFF files.

PDF Images

PDF support in xPression output can be classified in two categories: PDF images (less than a page)and full- or multi-page PDFs. PDF images are supported for use in PDF, PostScript, and PPML output.

The following table details how each type of PDF can be included in a document for each xPressiondesign tool.

Design Tool PDF Images Multi-page PDFs

xDesign Universal Content ImageExternal ImageExternal Content

Universal Content

xPresso for AdobeInDesign

InDesign Place FunctionFrom an ECM RepositoryImage VariableUniversal Content Image Item

Place PDF FunctionUniversal Content Item

xPresso for Word Word Insert FunctionFrom an ECM RepositoryImage VariableUniversal Content Image Item

Universal Content Item

32

Page 33: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Note: (1) In xPresso, if you insert a multi-page PDF file using an image variable or through onlinemode, only the first page of the PDF will be inserted in the document as an image. (2) If you include aPDF image in a document that is published to an output format that doesn’t support PDF, a supportedimage format that was created during an image conversion will be used. For more information, seePicking the Right Format for the PDL, page 36.

When you insert a multi-page PDF through universal content, you can denote which pages of thePDF are to be inserted into the document. Universal content also enables you to define TOC options,formatting options, and inclusion conditions.

JPEG Images

Please review the following topics about JPEG support:• JPEGs in AFP and PostScript Output, page 33

• Inline JPEGs in AFP Output, page 33

• JPEG Rendered in CMYK, page 34

JPEGs in AFP and PostScript Output

If the JPEG (.jpg, .jpeg) image has an irregular format, the xPublish publishing engine will not beable to use it to produce PostScript or AFP output. A JPEG image is “irregular” if it contains oneof the following:• More than one SOI (Start of Image: FFD8) tag. This tag should appear only once at the beginningof the file.

• More than one SOS (Start of Scan: FFDA) tag. This tag indicates the beginning of the image scan.

You can use a utility such as IrfanView (http://www.irfanview.com/) to re-save irregular JPEGimages, and then use the newly saved images in your document.

Inline JPEGs in AFP Output

xPression uses AFP Function Set 11 to embed JPEG images inline. Note the following limitationswhen you insert inline JPEG images for AFP output:• The JPEG images must be 24–bit RGB.

• Function Set 11 is not be supported by all IBM InfoPrint systems and printers. Please contact yourvendor to ensure that Function Set 11 is supported.

• xPression uses "Scale to Fit" to scale an image to fit the frame size, but some InfoPrint systems andprinters may not support "Scale to Fit". In that case, you have to manually resize the image tothe same size as the frame.

33

Page 34: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

JPEG Rendered in CMYK

Internet Explorer 8 does not support JPEG images rendered in CMYK mode. Images must berendered in RGB mode if you are using Internet Explorer 8 with xReponse, xRevise, or the xDesignOnline Editor.

TIFF Images

The xPression Publish publishing engine currently supports four types of TIFF images:• Bi-level images (monochrome images)

• Grey scale images

• RGB full color images

• Separation images (CMYK only)

The following types of TIFF images are not currently supported:• RGB palette images

• YCrCb images

• CIE Lab images

• JPEG embedded images

Note: If you are using a multiple-page TIFF image as universal content in your document, the pagesize the TIFF image is always Letter in the outputs.

The following table details xPression TIFF image support.

Image TypesFeatures Bi-level Grey

scaleRGB CMYK

No compression Yes Yes Yes Yes

CCITT 1D (Modified Huffman) Yes N/A N/A N/A

1D Yes N/A N/A N/A

2D Yes N/A N/A N/A

Fill Bits BeforeEOL

Yes N/A N/A N/A

CCITT G3

UncompressedMode

No N/A N/A N/A

Normal Yes N/A N/A N/ACCITT G4

UncompressedMode

No N/A N/A N/A

Pack Bits Yes Yes Yes Yes

CompressionMethod

LZW Yes Yes Yes Yes

34

Page 35: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Image TypesFeatures Bi-level Grey

scaleRGB CMYK

1 Yes N/A N/A N/A

2 N/A Yes Yes Yes

4 N/A Yes Yes Yes

8 N/A Yes Yes Yes

Bits Per Sample

16 N/A Yes Yes Yes

Normal Yes N/A N/A N/AFill Order

Reversed Yes N/A N/A N/A

Black is one Yes Yes N/A N/AColor Presentation

White is one Yes Yes N/A N/A

Planar (for example, RRRGGGBBB) N/A N/A Yes YesPlanar or interlaced

Interlaced (for example,RGBRGBRGB)

N/A N/A Yes Yes

Single Strip Yes Yes Yes YesStripes

Multiple Strips Yes Yes Yes Yes

Image Data Storage

Tiled No No No No

Extra Samples (Transparency) No No No No

EPS Images

Be aware of the following issues with EPS images:• If an EPS image cannot be opened in GSVIEW, it will not be converted successfully by thexPression system.

• If you use an image variable to point to an EPS image, the image will disappear when previewingit as PDF in an xPression client application.

ICC Color Profile Support

Embedded ICC color profiles in EPS, JPEG and PDF files can be passed through xPression to printerdrivers or RIP processors. xPression can’t pass ICC color profiles in TIFF images. For the supportedimage types, xPression can pass the profile, but the profile can’t be used by xPression to match color.xPression has no knowledge of the type of printer or RIP processor that will be used, and therefore,can not resolve color matching.

Passing ICC profiles is supported in EPS files when output to PostScript; or when converted to PDFor JPEG by xPresso for Adobe InDesign, and then output to PDF. You must ensure that “pdf” and“jpeg” appear at the beginning of the image list for PDF output in the configuration file.

35

Page 36: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Passing ICC profiles is supported in JPEG files when output to PostScript and PDF, and in PDF fileswhen output to PDF.

Any kind of conversion or processing on the image by the xPression Server will break the ICC colorprofile, especially the Resample Image to Output Resolution function.

Picking the Right Format for the PDLIt is true that xPression will do image conversion. However, if you really want to optimize imageusage, then you should start with the image format that is best suited for your output. In this sectionwe will show you how xPression decides which image format to use for your output PDL, we willshow you how to customize this format selection, and give you some recommendations on whichimage type to use for your output PDLs.

The following table details which format each unsupported image is converted to for each outputformat. An entry of “N/A” means the image format is supported for the output format (so noconversion is necessary); an entry of “None” means the image is not supported, but no imageconversion occurs.

Original Image AFP DOCX HTML PCL PDF/PPML PostScript

BMP JPEG N/A N/A None JPEG JPEG

EPS JPEG JPEG,PNG

JPEG,PNG

None PDF, JPEG,PNG

N/A

GIF JPEG N/A N/A None N/A JPEG

JPEG (JFIF) N/A N/A N/A None N/A N/A

PDF JPEG JPEG JPEG None N/A JPEG

PNG JPEG,Group 4

N/A N/A None N/A JPEG

TIFF (Group 4) N/A JPEG JPEG N/A N/A N/A

TIFF(Monochrome)

Group 4 JPEG JPEG Group 4 N/A N/A

TIFF (Grayscale) None JPEG JPEG None N/A N/A

TIFF (Color) None JPEG JPEG None N/A N/A

How xPression Decides Which Format to Use

When you place any image into the xPression Repository, xPression automatically generates an imageformat compatible with Web output to support previewing the image from xAdmin. For publishingon the Server xPression selects an image format that is best suited for the output type.

The image type that is used during publishing is controlled by a setting in the DCPI.propertiesconfiguration file, located in the xPressionHome directory on the xPression Server. Each output

36

Page 37: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

format has a parameter in the file that contains a list of supported image formats. The order of theimage formats determines the order xPression will select an image format to publish.

The following table shows xPression’s default image format selection for each output type.

PDL Default Image Selection

AFP PDF, JPG, JPEG, GIF

DOCX PNG, JPG, GIF, BMP

Email and HTML PNG, JPEG, JPG, GIF, BMP

PCL TIF, TIFF

PDF TIF, TIFF, PNG, PDF, JPG, JPEG, GIF, BMP

PostScript PDF, EPS, JPG, JPEG, TIFF

TIFF TIF, TIFF, PDF, PNG, JPG, JPEG, GIF, BMP

Image Type Limitations

Some image types that are supported by xPression are not supported by all output types. Thefollowing limitations apply:• PDF supports all image types supported by xPression

• PostScript supports all image formats supported by xPression except PNG.

• PCL supports Group4 only.

How xPression Determines the Image DPI

For raster images (TIFF, GIF, BMP, JPG) xPression determines the DPI resolution of auto-generatedimages by attempting to use the image resolution value embedded in the image. If the value is notembedded in the image, xPression uses the default resolution of 72 DPI.

For PDF and PostScript images, xPression converts these images to raster images, assigning DPIvalues as follows:• 300 DPI for Print images

• 96 DPI for Web images

How to Customize the Image Format Selection

You can customize how xPression selects image formats for your PDL in two ways. First, you cancustomize the default image format selection for each PDL by editing the configuration file on yourserver. This change affects the entire xPression system. Secondly, you can customize the imageformat selection for individual output streams. These output stream settings override the defaultpreferences set in the configuration file.

37

Page 38: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Customizing Image Format Selection

You can customize the default image format selection method by editing the DCPI.properties filefor your server. The DCPI.properties file is located in the xPressionHome directory (by default,C:\xPression). The changes made to this file affect the entire xPression system, but will be overwrittenby any preferences you set in the individual output stream.

The DCPI.properties file contains seven properties that enable you to specify the image formatselection preference:• ImagePreferenceForPDF

• ImagePreferenceForPS

• ImagePreferenceForAFP

• ImagePreferenceForTIFF

• ImagePreferenceForHTML

• ImagePreferenceForDOCX

• ImagePreferenceForPCL

To edit the file:1. Navigate to the xPressionHome directory.

2. Locate and open the DCPI.properties file in an editor.

3. Locate the following section in the DCPI.properties file.#

BarcodeResolution=72## Image format preference for different output type. When a image# is selected or created the format preference will be concerned.##ImagePreferenceForPDF=tif;tiff;pdf;jpg;jpeg;png;gif;bmpImagePreferenceForPS=eps;jpg;jpeg;tifImagePreferenceForAFP=jpg;jpeg;gif;tif;tiff;group4ImagePreferenceForHTML=png;jpg;jpeg;gif;bmpImagePreferenceForPDF=tif;tiff;pdf;png;jpg;jpeg;gif;bmpImagePreferenceForPCL=tif;tiff

4. Locate the property for your output PDL. For example, for PostScript:ImagePreferenceForPS=eps;jpg.jpeg;tif

5. The first image format listed in the value of the property is the first image xPression attempts toselect for the output PDL.

6. Change the order as needed and save the DCPI.properties file when completed.

Customizing Output Stream Image Format Selection

You can customize the image format selection method at the output stream level in xAdmin.

38

Page 39: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

The Image Preference button enables you to reorderthe image format preference for your output stream

.

The preferences defined here overwrite the default image format selection preferences defined in theDCPI.properties file, and apply only to the documents in the output stream.

To set the image preference for the output stream:1. Start xAdmin and click xPublish Output Management.

2. In the xPublish Output Management menu, click Stream Definitions.

3. Locate the Image Preference button and corresponding text box.

4. Click Image Preference. The Image Preference pop-up box appears.The Image Preference pop-up box enables you to select and order output formats

.

39

Page 40: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

5. The Available Images list contains all available image types. The Images list displays all imagetypes you have selected for the current output stream. To move image types from the AvailableImages list to the Images list, select the image type and click Add.

6. Once you have all of your image types in the Images list, you can order the images by selectingthem and clicking theMove Up andMove Down buttons. Images at the top of the list areselected first, images at the bottom of the list are selected last.

7. When finished, click Open. The selections you made appear in the Image Preference text box.

8. Click Save.

General Image Type Recommendations for Your PDL

The following table provides general image type recommendations for your PDL.

xPresso for Word xPresso for InDesign xDesign

AFP Black and White HighSpeed

G4 TIFF G4 TIFFs as externalimages

G4 TIFF

PCL G4 TIFF G4 TIFFs as externalimages

G4 TIFF

AFP Color JPEG JPEG JPEG

PostScript EPS / JPEG EPS / JPEG EPS / JPEG

PostScript withTransparency

EPS EPS EPS

PDF JPEG PDF, JPEG or PNG ifyou need transparency

PDF or JPEG

Bar Code Images

When xPression generates a bar code in document output, the bar code is actually an image.Currently the third-party tool used to create the bar codes only supports RGB color, and doesn’tsupport CMYK. Although the bar codes may look black and white, they are actually RGB color, whichmay cause issues with some bar code readers.

You can force black and white images for bar codes by setting the TiffG4ImageasBarcode parameterin the xPression Server DCPI.properties file to “true”. When this parameter is set to “true” (thedefault), Tiff G4 will be used as the bar code image format. If this parameter is set to “false”, theImagePreferenceForOutputFormat parameter (also located in the DCPI.properties file) will be used todetermine the bar code image format. The ImagePreferenceForOutputFormat parameter controls allthe images in an output stream, the TiffG4ImagesasBarcode parameter controls only bar code images.

Note: The PNG image format is not supported for PostScript output, so it is important to ensure thatPNG is not listed as the image preference in the ImagePreferenceForPS parameter.

40

Page 41: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Images in xPresso DocumentsYou can include images in your xPresso for Adobe InDesign and xPresso for Word documents inone of two ways: by embedding the image in the document file, or by referencing an external image.The method you choose depends on your situation, and may differ document by document, or evenimage by image within a document.

Embedding Images

You embed images in your xPresso for Adobe InDesign or xPresso for Word document when youplace images in the document using the InDesign “place” function or the Microsoft Word InsertPicture function, or when you choose to embed an image placed from a server ECM repository (usingthe Place From server option). In InDesign, just placing the image doesn’t embed it into the InDesigndocument, it will have a link to the file. If you want to embed the image in the InDesign document,you must select Embed File from the Links panel after you place the image.

Whether the image is inserted, placed, or embedded, the image file is included in the documentpackage during the packaging process, eliminating the chance for missing image errors at publishtime. Embedding images relies on the images being available at design time.

External Images

You can insert external images through an image variable, through a universal content image, or byplacing a reference to a image contained in an ECM server repository. Image variables are insertedinto your document through xPresso for Adobe InDesign or xPresso for Word and point to data thatcontains the path and file name of an external file. Universal content images enable you to placean image that is stored locally or on a network, on the xPression Server, or you can use a variablereference. The image file is incorporated into the document at publishing time on the xPressionServer. When you place an image from an ECM server repository, you can choose to insert a referenceto the image. You can also specify if you want to use only the version of the image that you placed, orhave the xPression Server pull the latest version of the image at publish time.

The image file is incorporated into the document at publishing time on the xPression Server. Whenusing image variables or universal content images, you don’t need to have the image available atdesign time, your data just needs to contain the image path and name. Images can also change overtime without needing to update the document (if they fit in the same space). Because the images areinserted at publishing time, and not included in the package, it is possible to get errors if images aremissing, or incorrectly named or referenced.

You can structure your external image references for image variables either by using a relative path,or an absolute path. In both cases, you must ensure that the images exist on the client and the serverin the correct location. If you specify the entire path, you must also ensure that the exact same pathexists on the client and on the server. For more information, see Structuring Relative External ImageReferences, page 42.

41

Page 42: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Structuring Relative External Image References

You can structure your external image references for image variables either by using a relative path,or an absolute path. In both cases, you must ensure that the images exist on the client and the serverin the correct location. If you specify the entire path, you must also ensure that the exact same pathexists on the client and on the server.

External images referenced through relative paths must reside in the image directory on the xPressofor Adobe InDesign or xPresso for Word client computer, as well as in the image directory on thexPression Server.

The default image directories are:• xPresso for Adobe InDesign client:

— Windows XP: [Drive:]\Documents and Settings\All Users\Application Data\xPresso\[version#]\xPresso for InDesign\CS[#]\Images

— Windows 7 & Windows 2008: [Drive:]\ProgramData\xPresso\[version#]\xPresso forInDesign\CS[#]\Images

— Macintosh: [xPresso for InDesign Install Directory]\xPresso\image

• xPresso for Word client:— Windows XP: [Drive:]\Documents and Settings\All Users\Application Data\xPresso\[version#]\xPresso for Word\office20[##]\Images

— Windows 7 & Windows 2008: [Drive:]\ProgramData\xPresso\[version#]\xPresso forWord\office20[##]\Images

The directory location on the server is defined in the xPRSConfig.xml file, which is found in the[xPressionHome]\ directory.

To use a relative path, you’d structure the reference in your data like this: <image>logo.jpg<image>.The logo.jpg image must be located in the default image directory on the client and the server in orderfor it to be found during previewing (on the client) and publishing (on the server).

Working with Images in Your Document

When you add images to your xPresso for Adobe InDesign or xPresso for Word document, youcan scale them, rotate them, and crop them as necessary. Images can be rotated arbitrarily at anyangle. Images can also be cropped within a frame, so that only the part of the image that you wantto show will appear in the output.

Scaling Images

When you insert images into your document, you can scale and rotate them in any way you likeinteractively using the design tool interface. When you insert external images through image variables

42

Page 43: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

or universal content, the scaling is done at publishing time when the image is placed in the document.You can choose from the following scaling options for image variables and universal content images:• Original Size. Places the image in the frame at its original size (100%).

• Fill Content to Frame. Scales the x and y size of the image to completely fill the frame.

• Fit Content Proportionally. Scales the image to the size of the graphic frame while maintainingproper aspect ratio. This method is lossless, meaning that the image will be stretched orcompressed in both width and height so that the image can be displayed as large as possible andin the correct proportions.

• Fill Frame Proportionally. Scales the image to the size of the graphic frame, while expanding (orcompressing) the measurement (width or height) that reaches the bounds of the frame first untilthe other measure is exactly the width or height of the frame. The resulting image is proportionaland fills the entire frame, but some of the image content will be cropped by the graphic frame.

Transparency and Opacity in InDesign

In Adobe InDesign, opacity is the amount of transparency that exists in an image. If an image has100 percent opacity, it is not transparent at all. As you decrease the amount of opacity, it becomesmore transparent.

xPresso for Adobe InDesign supports transparency, as defined in InDesign, only in PDF and PPMLoutput. Transparency is supported in PostScript output through the use of EPS images.

InDesign enables you to assign a transparency value on two different levels. On the first level, youcan set transparency on a frame or group of frames. On the second level, you can set transparencyseparately on the frame border, frame background, and frame content (text and image within theframe). The transparency value specified defines how transparent the object should be.

The transparency settings defined in InDesign are different than alpha channels that you would findwithin an image, such as a PNG image. xPresso for Adobe InDesign supports only the specifiedtransparent value (which will be constant throughout the object) as defined in InDesign. Alphachannels, where the value will be different on different positions of one object, are not supported.

xPresso for Adobe InDesign supports all the options on the Effects dialog box for Transparency:• Basic Blending Mode. Specifies how the colors in transparent objects interact with the objectsbehind them. Each of the 17 blend modes is supported.

• Basic Blending Opacity. Determines the opacity of an object, including stroke, fill, text, imageand group. The value ranges from 0 to 1, with 0 making the object invisible, and 1 making theobject opaque. Any value between 0 and 1 makes the object transparent.

• Isolate Blending. Limits the blending to specific objects. When blending is applied to an object,the colors blend with all the objects beneath it. The Isolate Blending option confines the blendingto within the selected group, preventing objects beneath the group from being affected.

• Knockout Group. Makes the opacity and blending attributes of every object in the selectedgroup visually block out (knock out) underlying objects in the group. Only objects within theselected group are knocked out; objects beneath the group are still affected by the blending oropacity applied to them.

43

Page 44: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

xPression does not control the final presentation of transparency in the output; the result is controlledby the viewer used to display the PDF file. Transparency is supported in Adobe PDF version 1.4 andabove. Acrobat Reader 8 or newer is required to see transparency in xPresso for Adobe InDesignPDF output.

Note: A frame that contains transparency can only be snapshot using PDF for the snapshot imagetype. Using a raster image type for a snapshot of a frame that contains transparency is not supported.For more information on the snapshot function, see the xPresso for Adobe InDesign User Guide.

How xPression Handles ImagesIn the xPression environment, images can be stored in several locations.• The xPression Repository - Most images are stored in the xPression Repository and managedthrough the Image Utility in xAdmin. You can directly upload images to the xPression Repositorythrough xAdmin, let xPression automatically upload images to xAdmin after they are used in anxDesign content item, or import an ECM Documentum image to the xPression Repository throughxDesign. xPresso for Adobe InDesign and xPresso for Word also have access to the xPressionRepository for placing images in documents.

• Documentum xPression Repository - If you are licensed for Documentum Edition, you also havethe option of storing images in the Documentum xPression Repository. xDesign, xPresso forInDesign, and xPresso for Word can all have access to the Documentum xPression Repositoryfor placing images in documents.

• An ECM repository- You can store images in additional Documentum Docbase or FileNetrepositories. xPression will pull the image from the ECM repository when it is viewed orpublished.

• On the file system - You can insert images as external image references. This enables you to storeyour images on directory accessible by the xPression server.

The xAdmin Image Utility

To access the image utility, click Image Utility from the xAdmin Resource Managementmenu. TheImage Utility enables you to add, update, preview, and delete images. From the image utility list, youcan complete the following actions.

Element Description

Add Enables you to add a new image family to the xPression Repository.

Update Enables you to update an existing image family. Select the image family you want toupdate, and click Update.

Preview Enables you to preview an image in the xPression Repository. Select an image formatand click Preview.

44

Page 45: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Element Description

Delete Select one or more image families and click Delete to permanently remove them fromthe xPression Repository.

Image Family NameList

Click the image family name to access the image family options.

45

Page 46: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Importing an Image to the Image Management Utility

When you import an image into the xPression Repository, you are really setting up an image familyfor the different versions of the image you might need.

To add a new image:1. From the Image Management Utility page, click Add.

2. The Add Image Family page appears. You can specify the family name and specify an optionalweb format. Supply a name for the image family. The name must be between 1 and 255alphanumeric characters in length. The name must be unique and is case-sensitive.

3. In the Import Local Image box, supply the path and file name of the image you want to import.You can use the Browse button to select an image from your file system, or type the fully-qualifiedpath and filename for the image.

4. The Web Format box enables you to control which image is used for HTML, e-mail, or PDFdocuments. For example, you may want to use a JPEG image or a GIF image of a particularresolution. If you do not select an image for Web format, xPression automatically converts yourimage for web use unless the original image is already in a suitable format. xPression sets theresolution for auto-generated Web images at 100dpi.You can use the Browse button to select an image from your file system, or type the fully-qualifiedpath and filename for the image.

5. Click Save to upload the selected image to the xPression Repository.

Images in Your xDesign Documents

Images in xDesign documents can originate from four different locations. First, you can uploadimages to your xPression Repository through xAdmin, and then insert them into your imagesas needed. Secondly, you can insert images directly into an xDesign content item from your filesystem. When xPression saves the content item in xDesign, it automatically uploads the image tothe xPression Repository. Third, you can retrieve images from an ECM Documentum Docbase andinsert them into your content item by reference, or import them into your document and xPressionRepository. Finally, you can insert images as an external reference. This enables you to store imageson a network accessible directory and simply reference that path in your xDesign content item.

Images in Your xPresso Documents

You can include images in your xPresso documents by embedding static images directly in toyour document, or by including a reference to an external image through an image variable or auniversal content image, or by a reference to an image in an xPression or ECM repository. For moreinformation, see Images in xPresso Documents, page 41.

46

Page 47: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Printer Resident Images

Some printers enable you to store images in the printer memory. Storing an image in the printermemory increases printing performance because the image does not need to be downloaded from thexPression Repository. xPression enables you to use this feature by matching your Printer ResidentImages with the images in your xPression Repository.

This feature applies to xDesign and xPresso for InDesign content. The printer resident images canonly be used as UC in the documents created by xPresso for InDesign. You do not have to performany specific actions in xDesign to use printer resident images. Simply insert your images into yourdocument and ensure that your image has been added to the xPression Repository.

This feature appears in Printer Definitions, which are configured through the xPublish OutputManagement menu in xAdmin. In the Printer Resident Image section, you add images to the list,define their location in your printer memory, and map them to image families from your xPressionRepository.

For each image that you store on the printer memory, you must store a copy of that image in thexPression Repository. xPression uses the xPression Repository version for viewing and editingpurposes. Then you must map your printer resident images to the images in your xPressionRepository.

Adding an image to this list does not actually load the image onto the printer. You must use yourprinter’s import functions to load images to the printer prior to producing your documents.

Image Optimization in AFP Output

When image optimization is turned off in an xAdmin printer definition, images are repeatedlyembedded into the output file, increasing the file’s size. For AFP output, only TIFF Group 4 and 8–bitJPG images are supported for embedding in the output file, all other image types will be discarded.

47

Page 48: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Images

Going into ProductionBefore you place your xPression document into production, take a pass through the following imagecheck list:• Are all the image formats used in the document compatible with the output type?

• Do all the images have the appropriate DPI for the output type?

• Are all the images appearing as expected when previewing the document through the designclient?

• Have all external images been placed in the correct location on the server?

48

Page 49: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Chapter 3Using Fonts

Placing type on a page is a very complex process. All systems that handle documents have a specialmechanism to deal with type and typography. Each font consists of a series of hundreds or eventhousands of unique little pictures. Each page of text may contain thousands of these little pictures.

In order to support this rather complex concept, all page description languages (PDLs) and computeroperating systems have a special mechanism specifically designed to optimize handling of charactersof text.

This section will explain the notions required to support setting of type, how they are described infont files, and how they are processed by xPression using various PDLs.

Anatomy of a FontA typeface or font is a very complicated composite object that is made up of a lot of parts. Thissection will look at the various pieces and how they together provide all of the information necessaryto describe a typeface.

Glyphs

Glyphs are the shapes given in a particular typeface to a specific symbol. It is a particular graphicalrepresentation of a character. Think of a font as a lot of very carefully drawn little drawings. Theglyph is this little drawing. Different fonts have a different number of glyphs. For example, a font cancontain a full western character set as well as a full Chinese character set.

Latin, or Western European languages use a small number of characters, typically less than 30.Chinese and Japanese languages use many thousands of characters.

Font Metrics

Font metrics define information such as character width and height. Applications that use fontsgenerally stack characters up against each other. Typically the space defined by the font metric iswider than the actual glyph, otherwise characters would touch or overlap.

Font metrics tell applications how much space a character occupies.

49

Page 50: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

All applications that set type must know this information to determine when to break lines, andwhere to place the characters relative to each other.

Also included in font metrics are kern pairs. Kerning is the adjustment of the spacing between twospecific characters when they appear together. The classic example is AW.

Kerning can be positive or negative. In the fi kern pair, space is added between the characters.

Kerning is not currently supported by xPression.

EncodingEncoding is the association of a number with a glyph in a font. Characters in text are representedby numeric values. When you press a key on a keyboard, you are really entering a number into thecomputer. The computer takes that number and using the encoding of the font, matches it up to alittle drawing of a character for you. This is encoding.

Single Byte and Double Byte

Computers use binary numbers to store everything. The standard unit is the "Byte." This is an 8-bitquantity that can store 256 values. For Western languages, 256 is plenty of characters to representmost documents, but the Chinese and Japanese languages require thousands of characters. For theselanguages, we need to count higher than just 256, and therefore we need to use a bigger unit than abyte to store it. If we use 2 bytes we get 216 or 65,536 unique numbers to use to identify characters.With xPression we can use single byte, double byte encoding, or both.

For single byte fonts xPression uses WinANSI code page 1252 encoding, for large character setsxPression uses Unicode encoding.

WINANSI

Windows-1252 is a character encoding of the Latin alphabet used by default in the legacy componentsof Microsoft Windows in English and some other Western languages. This chart shows how eachhexadecimal number can be associated with a glyph.

50

Page 51: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

51

Page 52: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

The following table shows the advantages and disadvantages in using WINANSI encoding.

Advantages Disadvantages

Supported by most page descriptionlanguages such as PostScript, PDF, AFP,PCL

Only supports 256 characters

Supported by most software packagesthat process output from page descriptionlanguages (such as xTest, Emtex andothers)

May not support some special bullet characterseven for western European languages

Supported by even the oldest printers

WINANSI

Text is readable in PDL output files (youcan read words in output to help withtroubleshooting)

Unicode

Unicode is an industry standard allowing computers to consistently represent and manipulate textexpressed in any of the world’s writing systems. The standard itself describes quite a few concepts,the most important for the purposes of this document is the ability to address and manipulate about100,000 characters in any of the world’s writing systems in a standard way.

The following charts show the advantages and disadvantages in using Unicode encoding.

Advantages Disadvantages

All characters in any font can besupported

Unicode fonts can be very big (20 MB vs 50k forsmall character set fonts)

Can be used for any writing systemincluding Korean, Japanese and Chinese

Two bytes need to be used to address eachcharacter (text is not readable in any PDL)

Unicode

Performance may be very slightly slowerbecause of additional processing time fordouble byte characters

Font FormatsThere are three main font types supported by xPublish. This section will discuss those formats,their history and features. All of the font formats supported by xPublish are outline fonts. Outlinefonts use Bézier curves, drawing instructions, and mathematical formulas to describe each glyph.The glyphs are stored as scalable drawings that allows fonts to be scaled to any size and used ata variety of rotations.

52

Page 53: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

xPublish supports the following font types:• Adobe Type 1, page 53

• TrueType (.TTF), page 53

• OpenType, page 54

Adobe Type 1

xPublish supports Type 1 fonts for PDF and PostScript. Type 1 fonts were developed by Adobe asthe initial native font format for PostScript and the Apple LaserWriter in 1985. Type 1 fonts arecomposed of two files. One contains the glyphs, and the other the font metrics. PFB, PFM and AFMfiles are used to store Type 1 fonts on all platforms except Macintosh. The Type 1 format supports 256characters, and is not capable of describing large character set fonts.

File Type Description

PFB - Printer FontBinary

Contains glyphs, widths for characters, and basic encoding. This file can betransformed into a PFA file (Printer Font ASCII) that is the actual font formatthat is utilized by PostScript printers.

PFM - Printer FontMetric

This is a binary file used by Windows and other systems that contains the fontmetrics for the font.

AFM - Adobe FontMetric

This is an ASCII font metric file that contains all of the font metrics for thetypeface.

Issues with Type 1 Fonts

There are a number of issues with Type 1 fonts that initiated the second generation of PC fonts:• The Type 1 font format was originally proprietary and encrypted. The industry needed an openstandard which Adobe eventually published, but by then TrueType fonts had been born.

• Font and font metric files are different and not compatible between Mac and PC.

• Managing font and font metric files separately really does not make sense.

• Type 1 fonts cannot contain more than 256 characters.

TrueType (.TTF)

xPublish was designed to use the same TTF fonts used in the Macintosh and Windows operatingsystems. TTF fonts are the xPublish master format. TrueType was originally developed by AppleComputer in the late 1980s as a competitor to Adobe’s Type 1 fonts used in PostScript. TrueTypefonts solve all of the previously stated issues. A single binary file contains glyphs, font metrics, andcan contain very large character sets. They can be used on all platforms without modification orconversion.

53

Page 54: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

OpenType

xPublish supports OpenType fonts for AFP, PDF, and PostScript. xPublish also supports TTF fontsin an OpenType wrapper. OpenType was initially developed by Microsoft, later joined by AdobeSystems. OpenType was first announced in 1996, with a significant number of OpenType fontsstarting to ship in 2000-2001. Adobe completed conversion of its entire font library to OpenTypearound the end of 2002 and now only sells fonts in this format.

Note: The OpenType font ZapfDingbatsStd.otf is not supported for TIFF output because it isnot supported by Multivalent, an open source tool used by xPression. EMC Document Sciencesrecommends replacing it with the Wingdings font.

AFP Fonts

xPublish also supports the AFP fonts that meet the following characteristics.• Must be an AFP Outline font

• Must have been created from TrueType font masters stored in the xPression Repository

• Supports double-byte (Unicode) through TTF fonts and single-byte through AFP Outline fonts

• Fonts must use the Latin alphabet

See Using Fonts in AFP Output, page 63 for more information.

Using FontsFonts are external resources required to reproduce documents. For a document to be reproducedproperly, the fonts need to be available at the device that is trying to reproduce the document.

This could be a computer viewing a document in PDF form or a printer creating paper

output.

In a typical workflow, fonts need to be available in several areas:1. Fonts should be available to the authoring tool (client) so that they can be defined as part of

the document.

2. They need to be installed on the xPression server to to enable the server to use them whencomposing output.

3. Finally, they need to be available to the printer (or viewer).For the client and the server (items 1 and 2 above), the solution is simple. Fonts used in documentsneed to be installed in both locations.

54

Page 55: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

For printing output (item 3 above), there are two strategies.1. Embedding fonts - Including the font in the print stream so that there are no external

dependencies (embedding fonts). You can also embed fonts while using subsetting.

2. Printer resident fonts - storing a version of the fonts in the printer memory

Embedding Fonts

In order to transport documents with reliable fidelity, it is necessary to reduce dependencies onexternal files such as fonts. This can be done by embedding fonts within the document itself.Documents that contain embedded fonts can be reproduced faithfully by using the embedded fonts.When rendering the document, the font is extracted and fed to the font machinery of the renderingmechanism (PDF, PostScript, AFP, etc.). When embedding fonts, the output files must contain fontsthat can range from 20k to 20MB depending on the number of characters.

Advantages Disadvantages

File can be rendered faithfully anywhereand any time in the future.

Increased output file size.

No environmental dependencies. Increased processing time.

Embedding Fonts

Fonts are included one time for the entireoutput file.

You can also embed fonts while using subsetting.

Printer Resident Fonts

Most printers have a mechanism that allows you to install fonts on the printer so that they areavailable even if the printer is powered down and restarted. Fonts installed in this manner arecalled printer resident fonts. If a font is known to be printer resident, then it does not need to beembedded in the output file.

Advantages Disadvantages

File sizes are reduced because fonts arenot included.

Fonts must be actively managed on printer(s).

Printer processing time is reducedbecause the font need not be reconstitutedand passed to the font mechanism.

Multiple printers must be kept in sync.

Unable to handle multiple versions of a font fordifferent jobs.

Printer ResidentFonts

Most printers substitute fonts when fonts aremissing - you may not notice until it is too latethat a font is not working properly.

55

Page 56: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

Subsetting

With the introduction of TrueType fonts, it became possible to define many thousands of characterswithin a single font. This was designed to support Asian and other large character sets. Theproblem is that some of these extensive character sets can be in excess of 20 MB when embedded ina print stream. For example, if you needed to print a page that contained a single character of theArialMTUnicode font and you did not use subsetting, you might end up using 20 MB of font and 500bytes of page description because it would embed the entire font when only one character is needed.

Subsetting embeds only the glyphs used instead of embedding the entire font. For example, manyUnicode fonts contain Arabic and Chinese characters. If you are producing a document in German,you do not need to include these characters.

Advantages Disadvantages

Can significantly reduce file size. Text in PDF files can not be edited because onlysome of the characters for the font are available.

Subsetting

Only the characters used in the job areincluded in the print stream - this createsthe most efficient output files.

Some 3rd party applications that read printstreams will have problems. For example, ifyou change the page order by placing page10 at the beginning of a document. It may becounting on characters that were downloadedwith page 7 to be available.

User-Created Fonts

If your user-created fonts have license restrictions, you can set the OnFontNotSupported or theOnFontNotFound parameter in the xPressionPublish.properties file. For more information, seexPressionPublish.properties in the Administering the xPression Server guide.

How xPression Handles FontsIn the xPression environment, fonts are stored in three locations:• The xPression Repository - All xPublish fonts are stored here as a reference. These fonts areyour master set and are not used in production.

• The xPublish machine - xPression uploads a copy of your fonts to a semi-permanent disk cachelocated on the machine that processes your documents. Fonts are uploaded when they are firstused and persist until deleted or updated. These fonts are used for production.

The semi-permanent disk cache resides in your xPression installation directory. This path isdefined in xPressionPublish.properties located in the xPression installation directory.

• The client machine - Fonts are stored on the client machine for editing and viewing.

Each time xPression publishes a document, the fonts on the xPublish computer are checked againstthe fonts located in the xPression Repository. If the needed fonts do not reside on the xPublishcomputer, xPression uploads the fonts from the xPression Repository. xPression also updates the

56

Page 57: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

fonts if the xPression Repository contains a newer version of the fonts. The fonts remain on thexPublish server indefinitely until updated by xPression or specifically removed by the user. Thefonts are reused for subsequent jobs.

The following table summarizes xPression font support for AFP, PDF, and PostScript output. Forinformation about PCL font support, see Using Fonts in PCL Output, page 68.

Font Type AFP PDF PostScript

TrueType Yes Yes Yes

OpenType(New Type 1)

Yes(.tff only)

Yes Yes, exceptBitmap fonts

AFP Outline Yes No No

Old Type 1(Windows or Mac Type 1)

No Yes Yes

Double-Byte Yes Yes Yes

Note: OTF and Type 1 fonts are not supported in dynamic charts.

The Font Management Utility

The xAdmin Font Management Utility enables you to manually upload, update, and delete fontsfrom the xPression Repository. This utility manages fonts for the xPublish composition engine, notfor the CompuSet composition engine. The Font Management Utility is located in the ResourceManagement section of xAdmin.

Note: The Font Management Utility supports loading TrueType fonts; loading Type1 fonts is notsupported.

To add a new font to the xPression Repository through the Font Management Utility:1. From the Font Management Utility, click Add.

2. xPression displays the Add a New Font page. Type the path to your font file or click Browse tonavigate to the file.

3. Click Save to add the font to the xPression Repository.Before you can load an AFP font, the font’s TrueType equivalent must be loaded using the previoussteps.

To add a new AFP font to the xPression Repository through the Font ManagementUtility:1. Access the Font Utility page in xAdmin.

2. Select the check box next to the font in the list that is the TrueType equivalent of the AFP fontyou are adding.

3. Click Add AFP. The Font Utility: Add AFP Font page appears.

4. Browse to locate the AFP outline font (.oln).

57

Page 58: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

5. Browse to locate the code page (.cdp).

6. Select whether (yes) or not (no) to replace an existing font.

7. Click Save to add the font to the xPression Repository.

Large Character Fonts

The xPublish publishing engine supports large character (also called double-byte) fonts for AFP, PDF,and PostScript output as long as the fonts are TrueType. For AFP output, the symbol font is notsupported. Arabic languages are not supported.

Asian language groups, including Simplified Chinese, Traditional Chinese, Japanese, and Korean(CJK) fonts are supported, with the following limitations:• The following CJK-specific composition features are not supported:— Auto-adjust space between CJK and Latin (number) characters

— Hanging punctuations

— Special text alignments

— Top-to-bottom text direction

— Phonetic characters

— Enclosed characters

— Horizontal in vertical

• Only Unicode BMP is supported; therefore, only part of the characters in CJK fonts are supported

• Korean justification logic is not supported

• Japanese multi-baseline output is not supported

• There may be some differences in line height and spacing between Chinese output on the serverand what you see in the design tool.

• Chinese fonts are not supported for use in dynamic charts.

If you are publishing Traditional or Simplified Chinese output, you must ensure that there is at leastone Traditional or Simplified Chinese font available for use by the publishing engine. xPression willuse Courier New by default if no Chinese font is found, which will not produce desirable output.

Microsoft Word provides multiple baseline alignment options. xPression supports only Baselinefor Chinese characters.

Asian Typography Support

Microsoft Word provides several Asian typography options. The following table details xDesign’sand xPresso for Word’s support of the options.

58

Page 59: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

Option Support

Line Break: Use Asian rules for controlling first and lastcharacters

Not Supported

Line Break: Allow Latin text to wrap in the middle of aword

Not Supported

Line Break: Allow hanging punctuation Not Supported

Character Spacing: Allow punctuation at the start of aline to compress

Not Supported

Character Spacing: Automatically adjust space betweenAsian and Latin text

Supported

Character Spacing: Automatically adjust space betweenAsian text and numbers

Supported

Character Spacing: Text alignment Only Baseline supported

Options: First and last character settings Only Standard supported

Options: Kerning Not Supported

Options: Character spacing control Only Do not compress supported

xPression doesn’t compress punctuation; therefore, the same punctuation of the same font and sizewill always have the same width. Also, xPression doesn’t allow punctuation to exceed the paragraphmargin. Because of these limitations, you may see a difference in line breaks between the documentin xDesign, and the published output.

Fonts in Your xDesign Documents

If you insert a new font into an xDesign document, xPression will automatically upload thatfont to your xPression Repository when you save your content item in xDesign. If you open anxDesign document that contains fonts that are not available on your client computer, xDesign willautomatically download the needed fonts from the xPression Repository.

Fonts in Your xPresso Documents

The fonts from your xPresso documents reside in a folder on your client. The fonts are not included inthe PDPX package used to import the document to the server. The fonts for your xPresso documentsmust be manually uploaded to the xPression Repository through xAdmin.

Migrating Fonts

When you export or migrate xDesign documents, you have the option to include your fonts in thePDPX package. Please be aware that the fonts will increase the size of your PDPX package. Fontsincluded in the PDPX package are automatically uploaded to the xPression Repository upon beingmigrated or imported to the xPression server.

59

Page 60: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

When you export xPresso documents, the fonts are not included in package. The fonts for yourxPresso documents must be manually uploaded to the xPression Repository through xAdmin.

Fonts and Page Description LanguagesPage Description Languages (PDLs) are languages for describing the layout and contents of a printedpage. While operating systems have mostly standardized on TrueType, OpenType and Type 1 fonts,PDLs have not. This section describes in detail how our emitters handle fonts.

Using Fonts in PostScript Output

The PostScript language provides direct support for TrueType, OpenType and Type 1 fonts. Not allPostScript printers support all of the formats and features properly. If you have one of the following,there may be issues when using fonts:• Older devices

• Non-Adobe devices

• Transforms

• Post-processing software

These programs usually have problems with support for embedded TrueType Glyphs and largecharacter sets. Type 1 fonts work on every PostScript device, and they have small character sets.

PostScript printers have a standard set of printer resident fonts that vary with manufacturer, butusually include Times, Helvetica, Courier, Symbol and Zapf Dingbats.

Emitter Support

By default the xPublish PostScript emitter uses large character sets (Unicode) and embeds TrueTypeGlyphs. Large character set fonts are downloaded using subsetting. Any new characters requiredfor a page are emitted after the last page, and before the page in which they are used. xPressionprovides an interface that enables users to define the fonts that are not embedded. xPublish supportsrotation of type in any increment.

Force the Use of Type 1 Fonts

Because Type 1 fonts work on every PostScript device and have small character sets, the easiestsolution for most problems is to exclusively use Type 1 fonts. To force the use of Type 1 fonts, you canconvert your TTF fonts to Type 1 fonts using the procedure below. The resulting .PFB file, along withthe .AFM file, must then be placed in the PSFontPath directory on the server.

Note: The base file name of a converted font file must identically match the base file name of theoriginal TureType font; otherwise, xPression will not detect the converted Type 1 font, and will

60

Page 61: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

continue to use the TrueType font instead. For example, if the TrueType font name is arial.ttf, thenthe converted font files should be named arial.afm and arial.pfb.

Clients (such as Microsoft Word or Adobe InDesign) can then use the TrueType or OpenType versionof the font, while the Type 1 font version will be used when making PostScript output. As long as theType 1 font has been created and installed, it will be used when making PostScript output.

Converting TTF and OTF Fonts to Type 1

This section provides you with the instructions necessary to convert TTF and OTFfonts to Type 1 using software available for download at no cost.1. First, you must download TTF2PT1. TTF2PT1 is a font converter that converts fonts from the True

Type format (and some other formats supported by the FreeType library) to the Adobe Type1format. You can download the program from the following web site:http://gnuwin32.sourceforge.net/packages/ttf2pt1.htmDownload the Binaries and the Dependencies zip file.

2. Next, unzip the TTF2PT1 binaries zip file to a directory on the computer where the fontconversion will be performed.

3. Next, unzip the dependencies zip file to the same directory.

4. You should see a sub-directory named Manifest. Copy the files from that directory to the /bindirectory. The /bin directory is where the executable file is located.

The directory structure should resemble the following image.

5. Launch a command prompt and navigate to the bin directory you have just created.

61

Page 62: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

For this example, we created a ttf2pt directory located at C:\ttf2pt

.

6. For each font you wish to convert type the following line (or put them all in a batch file) andpress Enter:Ttf2pt1 -b <font path and name>

where <font path and name> is the path and file name of the True Type font you wantto convert.If you copied your Arial font to the temp directory, your command would look like this:ttf2pt1 -b c:\temp\arial.ttf

You should now have a .PFB and a .AFM file in the c:\temp directory.

Using Fonts in PDF Output

The PDF format provides direct support for TrueType, OpenType and Type 1 fonts. xPressionsupports rotation of type in any increment. The PDF emitter will embed fonts in TrueType,OpenType, and Type 1 formats. The emitter will always embed subsets for fonts to reduce file size.

Embedding Fonts in xPublish

We have expanded the range of characters that can be used without being embedded in an outputPDF. Originally, xPression enabled you to publish a PDF without embedding fonts if all the characterswere within the ASCII range(0-256). Any character that fell outside of that range was embedded.Now the supported range is expanded to code page 1252. If the character is outside of this range, itwill have to be embedded.

If you want to publish a PDF with no embedded fonts, you must do the followingtwo steps:1. Ensure that all characters fall within the supported range as outlined above.

2. Set the following two parameters in the DCPI.properties file.LargeCharacterSet=false

62

Page 63: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

EmbedFont=false

Using Fonts in AFP Output

AFP does not directly support Type 1 fonts. Type 1 fonts must be converted to AFP outline fontsbefore they can be used. The AFP language provides for direct support for TrueType and OpenTypefonts as defined by MO:CDA v6, started in 2004. However, in order to use True Type and OpenTypefonts, the spooler (PSF, InfoPrint Manager, Prisma, and so on) and the printer must also supportthem. AFP only supports rotation of type in 90 degree increments. AFP does not support kerning,although it does support letter spacing.

There are several different supported ways to use fonts in your xPression AFP output:• TrueType fonts can be used, if your printer supports them. There is no conversion necessary, butsome preparation is required. See TrueType Fonts in AFP, page 64 for more information.

• TrueType fonts can be converted to Type 1 using the procedures described in Converting TTFand OTF Fonts to Type 1, page 61, and then converted to AFP outline fonts using the proceduresdescribed in Converting Type 1 Fonts into AFP Outline Fonts, page 67. For more information,see Manually Converting TrueType to AFP Outline, page 65.

63

Page 64: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

• xPression can automatically convert TrueType fonts to AFP outline fonts. To automatically convertTrueType fonts, ensure that the Embed Fonts in TrueType Format option is NOT selected onthe output definition.

If Embed Fonts in TrueType Format is NOT selected the font will be converted to an AFP outlinefont automatically if the following conditions are met:— The AFP codepage IS in the AFPFontCache folder

— The TrueType font IS in the expected location

— The font is NOT identified in dcpi.properties

xPression supports the use of AFP fonts that meet the following characteristics:• Must be an AFP Outline font

• Must have been created from TrueType font masters stored in the xPression Repository

• Supports double-byte (Unicode) through TTF fonts and single-byte through AFP Outline fonts

• Fonts must use the Latin alphabet

TrueType Fonts in AFP

TrueType fonts can be used in AFP output (if the printer and spooler support them), so there is noneed to convert the fonts to AFP outline format, but some preparation is required. First it is necessaryto take some steps to prepare the environment.

To prepare the environment to use TrueType fonts:

1. In xAdmin, open Resource Management, and then open the Font Utility. Delete any fontmappings that reference AFP outline fonts.

2. In xAdmin, open Publish Output Management, and then open Output Definitions. Open theoutput definition to be used with the document and remove any fonts listed in the Do NotEmbed Font List.

3. Use Windows Explorer to open the \xPression\Publish\AFPFontCache folder and remove anyAFP outline fonts that are stored there.

4. Ensure that the appropriate TrueType fonts are loaded in \Windows\Fonts .Support for embedded TrueType fonts must be enabled at the AFP printer. This is an option on someAFP printers. It is also possible to use TrueType fonts without embedding. See Creating AFP Filesthat Do Not Embed Fonts, page 68.

When the environment is prepared, and the document using the special fonts is referenced and savedin xDesign, xPression will automatically populate the TrueType fonts in the Font Management Utility,located in xAdmin’s Resource Management page. xPression will also place copies of the TrueTypefonts in the \xPression\Publish\FontCache folder.

When publishing to an output profile that references the output definition modified above, theTrueType fonts will be embedded in the AFP output file.

64

Page 65: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

Manually Converting TrueType to AFP Outline

If your AFP printer doesn’t support TrueType fonts, and you don’t want xPression to automaticallyconvert the fonts, you can manually convert TTF fonts to AFP outline fonts. Manually converting thefonts gives you more control over the process, and enables you to name the resulting fonts.

To convert TTF to AFP outline:1. Upload your TTF fonts to the xPression Server, using the steps in The Font Management Utility,

page 57.

2. Convert the TTF fonts to Type 1 using the procedures described in Converting TTF and OTFFonts to Type 1, page 61.

3. Convert the Type 1 font to AFP outline using the procedures described in Converting Type 1Fonts into AFP Outline Fonts, page 67.

4. Upload the AFP font to the xPression Server, using the steps in The Font Management Utility,page 57.

Bullet Characters

If you are using xPublish as your publisher to produce AFP output and need to create a bulletedlist, you must use the T1001252 codepage because the recommended codepage, T1001148, doesnot include a bullet character.

AFP Foreign Language Support

The AFP emitter provides the ability to convert TrueType fonts into AFP Outline or bitmap fonts.During the outline font conversion process, the AFP emitter creates custom code pages in order tosupport the required Unicode characters in a reduced AFP Outline font.

When converting to outline fonts, in order for bold or italic to be supported, you must start with abold or italic TrueType font. For example, to get a bold outline font, you can use arialbd.ttf (ArialBold), or to get an italic outline font, you can use ariali.ttf (Arial Italic). Bitmap fonts don’t have thislimitation, they can simulate bold and italic styles from normal fonts.

The following languages are now supported for AFP output:• Traditional Chinese

• Korean

• Vietnamese

• Tagalog

• Japanese

Note: Some English characters can’t be output in AFP when using the MingLiu (mingliu.ttc) font.This is a limitation of JDK versions jdk16_18 and jrockit_160_17_R28.0.0–679. To avoid this issue,ensure that you are using jdk1.6.0_20, jdk1.5.0_14, or jrockit_160_14_R27.6.5-32. Additionally, the

65

Page 66: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

outline conversion of Mingliu is not currently supported well; it is recommended that you usea bitmap conversion with this font.

When you publish double-byte characters like CJK, you now have the option to convert TrueTypefonts into AFP Outline or bitmap fonts, and embed them into the output file during the publishingprocess. You can make your selection while defining an AFP output definition in xAdmin. Formore information, see the xAdmin User Guide.

Thai Fonts in AFP Output

xPression supported the ability to include special Thai (Unicode) characters in AFP output. AThai TrueType font, AFP outline font, and codepage must be available to use this feature. Prior toimplementing Thai fonts for AFP output ensure that:• There is no AFP definition for the font. To verify this, log on to xAdmin, open ResourceManagement, and then open Font Utility.

• The font and codepage are not defined in the FontMapping key in Dcpi.properties. Dcpi.propertiesis located in the <xPressionHome> installation folder on the xPression Server. For moreinformation, see the Administering the xPression Server guide.

• You place the codepage file in <xPressionHome>\Publish\AFPFontCache.

To enable using Thai fonts in AFP output:

1. In xAdmin open the output definition for the AFP output.

2. Select AFP for Format.

3. Clear the Embed fonts in TrueType format check box.

4. Type the name of the code page that was placed in the appropriate AFP font directory in theDefault CodePage field.

5. Click Save.The Thai font will be used as appropriate for AFP output. The following characters in AFP aresupported:• Thai Graphic Characters (BA100000 ~ BZ500000)

• Latin Graphic Characters (LA010000 ~ LZ300000)

• Numeric Decimal Graphic Characters (ND010000 ~ ND102000)

• Numeric Fraction Graphic Characters (NF000000 ~ NF210000)

• Arithmetic Special Graphic Characters (SA000000 ~ SA870000)

• Phonetic Chinese Graphic Characters (SB010000 ~ SB420000)

• Currency Special Graphic Characters (SC010000 ~ SC220000)

• Diacritic Mark Special Graphic Characters (SD110000 ~ SD978000)

• Control Representation Special Graphic Characters (SE010000 ~ SE340000)

• Format Symbols Special Characters (SF010000 ~ SF970001)

• APL Symbol Special Graphic Characters (SL010000 ~ SL870000)

66

Page 67: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

• Miscellaneous Symbols Special Graphic Characters (SM000000 ~ SM990000)

• Supplementary Symbols Special Graphic Characters (SS000000 ~ SS890000)

• Various Symbols Special Graphic Characters (SV010000 ~ SV550000)

• Punctuation Special Graphic Characters (SP010000 ~ SP6100Z0)

If Embed fonts in TrueType format is NOT selected, the font will be converted to AFP automaticallyif the following conditions are met:• The AFP codepage IS in the AFP folder

• The TrueType font IS in the expected location

• The font is NOT identified in dcpi.properties or xPRSConfig.xml

Emitter Support

If your AFP device supports TrueType and OpenType fonts, and your documents only containTrueType and OpenType fonts, then fonts are embedded and used transparently. Type 1 fonts mustbe converted to AFP outline format.

Converting Type 1 Fonts into AFP Outline Fonts

In order to convert Type 1 fonts to AFP Outline, you will need to use the InfoPrint Type Transformerprovided by Ricoh, or a similar utility. This utility can be downloaded from the IBM Website(http://www-01.ibm.com/support/docview.wss?uid=psd1P4000840). We will use the InfoPrint TypeTransformer to demonstrate the procedure. Your steps may be different.

To convert fonts using InfoPrint Type Transformer:1. Start InfoPrint Type Transformer. The Type Transformer application appears.

2. Select the typefaces to convert. From this page you should point to the .PFB file you wishto convert to AFP Outline.

3. Next, select the character filters.

4. Make sure you select the code page 1252, and click Open.

5. Convert the font by providing a job name. The resulting fonts can be found in a subdirectory ofthe program installation directory. The font file will have the extension .OLN.

6. Load the font on the xPression Server. For more information, see The Font Management Utility,page 57.

67

Page 68: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

Creating AFP Files that Do Not Embed Fonts

You can create an AFP file that only references the fonts used, but does not actually embed all of thefont data, which increases file size. The font resources must be available on the printer. The methodfor accessing those font resources when the AFP file is sent to the printer must be implementedto use this procedure.

If your printer supports TrueType fonts and you intend to use TrueType fonts only, then the onlyfont requirement is the TrueType (.ttf) version of the font that you want to use. If you intend to useAFP outline fonts, then you will need the AFP outline (.oln) version of the required font as well asthe TrueType version.

To create an AFP file without embedding fonts:1. Import the TrueType font into xAdmin with the Resource Management Font Utility. Refer to the

xAdmin User Guide for instructions on using the Font Utility.

2. If using AFP outline fonts, load the AFP outline fonts by choosing Add AFP and use the Browsebuttons to navigate to the location of the desired AFP CharSet File and the corresponding AFPCodePage File. Ensure that the same codepage is selected that was used to create the outline font.

3. From Publish Output Management select Output Definitions and then select the OutputDefinition that you want to use.

4. Under Do Not Embed Font List click Add and select the font that you do not want to embed.Repeat as required for all fonts that should not be embedded. If using TrueType fonts only, thenonly TrueType fonts need to be added. If using outline fonts, then the corresponding outline fontmust be added as well as the TrueType font. This will prevent the fonts from being accessed fromthe FontCache folder for the TrueType fonts and the AFPFontCache folder for the AFP outlinefonts.Important: Ensure that the correct AFP codepage is selected for each outline font that should notbe embedded.

Using Fonts in PCL Output

xPression supports PCL 5. This version does not directly support TrueType, OpenType or Type 1fonts, nor does it support large character sets. It supports the ISO Latin 1 and WinANSI charactersets. The ISO Latin 1 character set is smaller than the WinANSI character set (and it does not containall of the bullet characters). PCL only supports rotations in 90 degree increments.

In PCL, fonts are not selected by a font name; they are selected by describing the font characteristics.PCL fonts have the following characteristics: symbol set, spacing, height, pitch, style, stroke weight,typeface and orientation.

Font Characteristic Description

Symbol Set This is a character encoding, like ASCII or ISO Latin1. In PCL, the symbol set19U is the ANSI or Windows Character set.19U is the recommended symbol setfor both xPression and Autograph.

68

Page 69: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

Font Characteristic Description

Spacing Spacing is either proportional or fixed. In fixed-spaced fonts, the widths of allthe characters in the font are the same. In proportional spaced fonts, the widthsof each character may vary.

Height The point size in which to print the font.

Pitch This characteristic describes the number of characters printed in a horizontalinch. Pitch applies only to fixed-spaced fonts.

Style Style defines three characteristics: posture (upright, italic), width (condensed,normal, expanded, and so forth), and structure (solid, outline, shadow, andso forth).

Stroke Weight The thickness of the strokes that compose the characters. For example, strokeweight may be medium or bold.

Typeface This characteristic identifies the design of the characters in a font, i.e., how thecharacters look. For example, how Arial looks compared to Times New Roman.A typeface is usually specified by a two to five digit identification number.Orientation is just rotation. PCL has the usual four rotations for fonts.

Orientation The rotation of the font.

Emitter Support

The PCL emitter assumes that all PCL printers contain the following resident fonts:• Arial

• Arial Narrow

• Helvetica

• Helvetica Narrow

• Times New Roman

• AvantGarde

• Bookman

• Century Schoolbook

• Courier

• Courier New

• Garamond

• NewCenturySchlbk

• Palantino

69

Page 70: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

Using PCL Fonts with xPression

TrueType fonts cannot be embedded in PCL output directly. Rather, they must first be converted toPCL soft fonts and copied to the location identified in the PCLFontPath command in DCPI.properties.In addition, you need to specify the new PCL soft fonts in the PCLFontMapping command inDCPI.properties.

To use TrueType fonts in PCL output:1. Convert the TrueType font to a PCL soft font using the PCL Font Converter. See Convert

TrueType Fonts to PCL, page 70.

2. Copy the new PCL soft fonts to the location identified in the PCLFontPath command ofDCPI.properties.

3. Specify the new PCL soft fonts in the PCLFontMapping command in DCPI.properties. SeeConfiguring the PCLFontMapping Property, page 71.

Convert TrueType Fonts to PCL

To use other fonts, they must be converted to PCL format. xPression ships with the Autograph FontConverter that can be used to perform this conversion.

The conversion should be made using the 19U character set which is a subset of the WinANSIcharacter set. The converted fonts should be placed in the directory specified by the PCLFontPathproperty in the Dcpi.properties file. This file is located in the xPressionHome directory (C:\xPressionby default).

Once the PCL font is found in this directory, it is used by the PCL device instead of the TrueType,OpenType or Type 1 font.

Design clients (Microsoft Word or Adobe InDesign) can still use the TrueType, OpenType or Type 1version of the font. As long as the converted PCL font is installed on the server, it will be usedwhen printing PCL.

70

Page 71: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

Configuring the PCLFontMapping Property

To use PCL fonts with xPression, you must specify how your PCL fonts correspond to the TrueTypefonts used in the editor. This is accomplished through the PCLFontMapping property in theDCPI.properties file. The PCLFontMapping property converts the use of TrueType fonts to the use ofPCL fonts located on the printer or in the directory specified by the PCLFontPath command.

The PCL emitter will only use PCL fonts that are defined by the PCLFontMapping property in theDCPI.properties file and that exist in the directory defined by the PclFontPath property. If one of theTrueType font families listed in Emitter Support, page 60 is used but not defined in DCPI.properties,then the PCL emitter will assume that the user wishes to use a printer resident font with the samefont family name. Otherwise, the PCL emitter will substitute the printer resident version of Arial.

Because PCL fonts are selected by describing the font characteristics, you must map the TrueTypefonts to a description of the font characteristics.

The PCLFontMapping syntax is: PCLFontMapping=font1;font2;font3;...;

where each font consists of seven parameters and each font is separated by a semi-colon. For example:

PCLFontMapping=0,,16602,19U,0,Arial,0;1,,16602,19U,0,Arial,1;2,,16602,19U,0,Arial,2;...;

Parameters

p1 - Font Index ID Number. The unique (and arbitrary) font index ID number. For each font listed,the value of p1 must be sequential. This value is supplied by the user.

p2 - PCL Font name. This is the name of the file containing the PCL soft font in the PCLFontPathdirectory. For a printer resident font, leave this name blank. The path is given by the PCLFontPathcommand and the file extension is always ".sft", so the path and file extension should NOT bespecified here.

p3 - The PCL font typeface. This value is NOT required for embedded fonts. For embedded fonts,simply set the typeface equal to the id number. It is required for printer resident fonts.

p4 - The PCL font symbol set.

p5 - The PCL font pitch. 0 = a proportional spaced font; 1 = a fixed space font

p6 - The TrueType font name. Use the English name for the TrueType font. Use the family namenot the full font name to avoid errors.

p7 - The TrueType font type ID. 0 = regular; 1 = bold; 2 = italic; 3 = bold italic

Fonts and Data Driven GraphicsxPression charting is accomplished using licensed components from a third party (Corda). xPressioncharting offers an interactive, WYSIWYG user interface, and a wide variety of chart types. Because thecharting engine is from a third party, it handles fonts and images differently than the rest of xPression.

Corda does not support the fonts installed on the host computer or server. Corda requiresits own set of fonts in a proprietary format based upon the SVG font format. These fonts

71

Page 72: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

have the extension FSD, and will be referenced as FSD fonts. Corda font files are stored in<xPressionHome>\Publish\Corda\Resources\lib\fsfiles.

You can use Corda Builder to convert TrueType (TTF) fonts to the FSD format. If you require a font ina chart that is not a TTF, you must convert to font to TTF, then use the Corda font conversion utilityto convert the font to FSD.

The TrueType version of the font should reside in the TrueType font directory on the server. Thedirectory is determined by the “TtfFontPath=” property in the dcpi.properties file located in thexPressionHome directory on your server.

Note: Chinese fonts are not supported for use in dynamic charts.

Converting Fonts to FSD FormatTo convert a TTF font to the FSD format:1. Start Corda Builder.

2. Click the File menu and select Font Converter.

3. The Corda Font Converter appears.

4. In the Conversion Options section, locate the Output folder option. This option enables youto define the destination directory for the converted fonts. Specify a location or take note ofthe default location.

5. From the Font list, select the font you wish to convert and click the Convert button.

6. The fonts are converted and placed in the output folder. These fonts can now be used in Builderto design, build and test your charts.

7. In order to use these fonts on the server, they must be manually copied to the proper directory.

72

Page 73: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

The directory is determined by the "CordaFontPath=." property in the xPressionPublish.propertiesfile located in the xPressionHome directory on your server.

8. Ensure that the TrueType versions of the fonts are located in the proper directory on the server.The directory is determined by the “TtfFontPath=” property in the dcpi.properties file located inthe xPressionHome directory on your server.Additionally, the Corda font file (.fsd) must be copied to the following directory:<xPressionHome>\Publish\Corda\Resources\lib\fsfiles\

73

Page 74: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Using Fonts

74

Page 75: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Chapter 4Page Description Languages

A page description language (PDL) is a language that describes the appearance of a printed page in ahigher level than an actual output bitmap. xPression supports the following PDLs:

• AFP

• HTML

• PCL

• PDF

• PostScript

• Text

• TIFF

AFPWith version 4.5, xPression introduces a new, more robust AFP emitter. The old AFP emitter (4.2AFP) is still supported in version 4.5, but it will not be supported in future versions of xPression.Also, the old emitter does not support any new features for 4.5. To enable the old AFP emitter, usethe EnableOldAFPEmitter property located in the xPressionPublish.properties file. Both emitterscan exist at the same time.

The new and improved AFP emitter uses an AFP output structure that differs from the old emitter.This improved structure results in a slight increase in output file size. The structure change involvesthe inclusion of a “Begin Document” tag at the beginning of each document instead of enclosing eachoutput file with only one Begin/End Document tag.

The new AFP emitter supports all features of the old emitter and also supports these new features:• Support for double-byte character sets.

• Support for many more AFP printer features through your PPD file. See the xAdmin User Guidefor more information.

• Support for Page level TLEs. See the xAdmin User Guide for more information.

• xPression can convert images that are in the wrong format for AFP. You can configure xPression’sresponse based on your preferred outcome. See the Administering the xPression Server for moreinformation.

75

Page 76: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

AFP (Advanced Function Presentation), is an IBM architecture and family of associated printersoftware and hardware that provides document and information presentation control independent ofspecific applications and devices. xPublish supports “Comment” or NOPS AFP.

Note: In some cases when viewing AFP output with a viewer, rather than direct output, the followingerror may occur:1323: The character set 'CZAH8H' was not found in the 'CSDEF.FNT file. Thedefault character set will be used.

Not all AFP viewers have been tested, but this error has been noted in all viewers that have beentested. To avoid the error it is recommended that AFP output be verified by sending the output tothe printer.

For information about AFP fonts, see Using Fonts in AFP Output, page 63.

AFP Foreign Language Support

The xPression AFP emitter has been enhanced in order to better support foreign languages. TheAFP emitter now provides the ability to convert TrueType fonts into AFP Outline or bitmap fonts.During the outline font conversion process, the AFP emitter creates custom code pages in order tosupport the required Unicode characters in a reduced AFP Outline font. AFP outline fonts don’tsupport bold or italic styles.

The following languages are now supported for AFP output:• Traditional Chinese

• Korean

• Vietnamese

• Tagalog

• Japanese

When you publish double-byte characters like CJK, you now have the option to convert TrueTypefonts into AFP Outline or bitmap fonts, and embed them into the output file during the publishingprocess. You can make your selection while defining an AFP output definition in xAdmin. Formore information, see the xAdmin User Guide.

Images

See the following topics on images in AFP output:• Images on the Server, page 77

• JPEG Images, page 77

• xPresso for Adobe InDesign Image Fit Options, page 77

• CMYK Images, page 77

• For image type recommendations for AFP, see General Image Type Recommendations for YourPDL, page 40.

76

Page 77: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

• For a list of natively supported image types for AFP, see PDL Native Support, page 28.

• To customize the image format selection for this PDL, see How to Customize the Image FormatSelection, page 37.

Images on the Server

When you place any image into the xPression Repository, xPression automatically generates an imageformat compatible with Web output to support previewing the image from xAdmin. To see a tabledescribing what image format is used for full-color, highlight color, and black and white images, seeHow xPression Decides Which Format to Use, page 36.

JPEG Images

If the JPEG (.jpg, .jpeg) image has an irregular format, the xPublish publishing engine will not beable to use it to produce PostScript or AFP output. A JPEG image is “irregular” if it contains oneof the following:• More than one SOI (Start of Image: FFD8) tag. This tag should appear only once at the beginningof the file.

• More than one SOS (Start of Scan: FFDA) tag. This tag indicates the beginning of the image scan.

You can use a utility such as IrfanView (http://www.irfanview.com/) to re-save irregular JPEGimages, and then use the newly saved images in your document.

xPresso for Adobe InDesign Image Fit Options

The xPresso for Adobe InDesign Image Fit options are not support for xPression with AFP or PCLoutput.

CMYK Images

xPression supports only one type of CMYK image.for AFP output: CMYK TIFF images using LZWcompression.

Building TLE Items

AFP TLEs are defined at the output stream level in an output definition. xPublish configuration ofTLEs is done entirely through the output definition page in xAdmin. The output definition enablesyou to define the name of a TLE, the TLE level, and the TLE value. To apply these TLEs to yourdocuments, simply publish the document with a stream that uses the output definition that contains

77

Page 78: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

your TLE settings. If you want to define different TLE values or publish the same document withoutTLEs, you will need to create separate output definitions for each scenario.

Note: (1) Only EBCDIC characters are supported in TLE items. (2) Variables are not supported in TLEitems when imposition is used in the output. (3) Non-latin characters are not supported.

AFP PPD Files

Printer definitions use your print device PPD file to identify all of the features and settingssupported by the device. PostScript printers have their own description files, which should havecome with the printer. For AFP printers, you can use one of the supplied PPD files, located inxPressionHome\publish\ppd:• Afpgeneral.ppd — for use with the new AFP emitter only.

• Afpbwcs.ppd — for black and white cut-sheet AFP printers.

• Afpbwrf.ppd — for black and white roll-fed AFP printers.

• Afpccs.ppd — for color cut sheet AFP printers.

• Afpcrf.ppd — for color roll-fed AFP printers.

Reverse Printing

When creating AFP output on the xPression Server, you can use the Reverse Printing feature. Whenthis feature is enabled, the order of the printed documents in the output stream will be reversed. Forexample, instead of printing pages 1, 2, and 3, it will print in reverse order 3, 2, and 1.

For more information, see the xAdmin User Guide.

Rotating Pages

When creating AFP output on the xPression Server, you can use the Rotate Pages 180 feature on thestream definition. When this feature is enabled, the pages in the output stream will be rotated 180degrees. When used with AFP, the rotation value you specified in the content stamp definition will beignored. For more information, see the xAdmin User Guide.

Resource IDs

xPression uses Resource IDs internally to manage resources, such as images and fonts, whenpublishing AFP output. By default new resource IDs are unique within a single document only, butxPression provides an option to ensure that the same resource ID is used across multiple batch runs.Unique identifiers supports combining multiple AFP print files into a single file, and thereby realizegreater postal discounts and reduce printer setup time.

78

Page 79: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

Caution: The following property must be present in Dcpi.properties, even if the feature is notused. If the property is missing AFP jobs will fail with a java.lang.NullPointerException error.

This feature is controlled by a single new property in Dcpi.properties:UseUnifiedResourceIDForAFP=false

This feature impacts the auto generation of AFP outline fonts, so it is necessary to clear anyexisting AFP fonts and their history prior to using this feature and whenever the value ofUseUnifiedResourceIDForAFP is changed. To clear existing AFP fonts:

1. Locate and open TTF2AFPMAP from xPressionHome/Publish/AFPFontCache.

2. Remove all existing fonts and associated histories.

3. Save the modified TTF2AFPMAP file.The next time AFP output is published the fonts will be regenerated with the new name.

When UseUnifiedResourceIDForAFP is TRUE the feature is invoked. Set the value of this propertyto FALSE to suppress the feature and avoid the possibility of unexpected changes in output. Forexample, if the document was developed and published successfully with prior versions, set thisproperty to FALSE to ensure output consistent with the prior versions.

To support using unified resource IDs, DDG and barcode images are embedded inline so thatresource IDs are not required for these images.

Limitations

The following restrictions and limitations apply to the unified resource ID feature:• This feature applies to xPublish documents only.

• This feature relies on auto-increment ID by repository, so resource IDs are not carried to otherxPression Repositories, such as when migrating documents to other environments.

• DDG and barcode images must be JPEG. To ensure that JPEG is used, specify “JPEG” as theimage preference in dcpi.properties under ImagePreferenceForAFP or in xAdmin under StreamDefinition.

• Regenerating InDesign packages will change the name of images stored in the package, and sowill cause the resource ID for AFP to change as well.

Mixed Orientation AFP Output

xPression supports portrait and landscape page layouts in AFP output. Some printers also supportlandscape page layout. The SimulateLandscapePageOnPortraitPaper in dcpi.properties ensures thatthe desired orientation can be produced on any printer. Refer to Administering the xPression Serverfor information on dcpi.properties.

79

Page 80: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

SimulateLandscapePageOnPortraitPaper can be either TRUE or FALSE. When TRUE landscape pages(pages that are wider than they are tall) are rotated 270º CW. When FALSE pages are not rotated.The default value is FALSE.

Limitations

The following limitations apply:• Simulates landscape orientation on portrait paper by rotating 270º CW only: other rotations arenot supported.

• This feature does not rotate content stamps.

• This feature does not support Tumble Page.

Rotated Frames in AFP Output

The AFP emitter was enhanced to support xPresso for Adobe InDesign frame rotation.• The AFP emitter supports the following frame rotation values: 0, –90, 180, 90. If the frame isrotated to a different value, the frame will not be rotated in the AFP output.

• The AFP emitter does not support filled frames that are rotated, but does support filled framesthat are not rotated.

• When nesting frames, embedded text and tables can only be rotated by the frame that directlycontains the text or table. Also, the tables or text can only be rotated to the four rotation valueslisted above.

HTMLTo customize the image format selection for this PDL, see How to Customize the Image FormatSelection, page 37.

PCLPCL (Printer Command Language) is a PDL developed by HP as a printer protocol and has becomewidely used. Originally developed for early inkjet printers in 1984, PCL has been released in varyinglevels for thermal, matrix printer, and page printers. xPression supports PCL 5.

Note: If blank pages are generated during publishing of PCL output, the generated blank pageswill not be shown in the PCL Reader viewer.

80

Page 81: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

PCL Font Support

PCL 5 does not directly support TrueType, OpenType or Type 1 fonts, nor does it support largecharacter sets. It supports the ISO Latin 1 and WinANSI character sets. The ISO Latin 1 character setis smaller than the WinANSI character set (and it does not contain all of the bullet characters). PCLonly supports rotations in 90 degree increments.

TrueType fonts cannot be embedded in PCL output directly. Rather, they must first be converted toPCL soft fonts and copied to the location identified in the PCLFontPath command in DCPI.properties.In addition, you need to specify the new PCL soft fonts in the PCLFontMapping command inDCPI.properties.

The PCL emitter assumes that all PCL printers contain the following resident fonts:• Arial

• Arial Narrow

• Helvetica

• Helvetica Narrow

• Times New Roman

• AvantGarde

• Bookman

• Century Schoolbook

• Courier

• Courier New

• Garamond

• NewCenturySchlbk

• Palantino

To use other fonts, they must be converted to PCL format. xPression ships with the Autograph FontConverter that can be used to perform this conversion.

Images in PCL

See the following items about image support for PCL output:• The xPresso for Adobe InDesign Image Fit options are not support for xPression with AFPor PCL output.

• PCL 5 does not support color (black and white only), and only supports black and white TIFFimages. To get images to output in PCL, you must start with a G4 Tiff image.

• To see a table describing what image format is used for full-color, highlight color, and black andwhite images, see How xPression Decides Which Format to Use, page 36.

• For image type recommendations for PCL, see General Image Type Recommendations for YourPDL, page 40.

81

Page 82: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

• For a list of natively supported image types for PCL, see PDL Native Support, page 28.

• To customize the image format selection for this PDL, see How to Customize the Image FormatSelection, page 37.

PCL PPD Files

Printer definitions use your print device PostScript Printer Description (PPD) file to identify all of thefeatures and settings supported by the device. Markers identify places in the document where youwould like to implement a feature or set of features.

Document Sciences supplies a PPD file for PCL printers, Pclbw.ppd. It is located in the followingxPressionHome subdirectory: <xPressionHome>\xPRS\xPRS_home\PPD

Use this PPD file for general purpose, black and white PCL printers.

PDFThe Portable Document Format (PDF) is a file format created by Adobe Systems for documentexchange. PDF is a fixed-layout format used for representing two-dimensional documents in amanner independent of the application software, hardware, and operating system. PDF capturesformatting information from a variety of desktop publishing applications, making it possible tosend formatted documents and have them appear on the recipient’s monitor or printer as they wereintended.

With version 4.5, xPression introduces a new, more robust PDF emitter. The PDF emitter usedin version 4.2 is still supported in xPression 4.5, but will not be supported in the next version ofxPression. Users should migrate to the new PDF emitter and use the old PDF emitter to comparisontest.

The old emitter is not enabled by default. To enable the old emitter to work alongside the newemitter, update the EnableOldPDFEmitter property in xPressionPublish.properties located in yourxPressionHome directory. When both emitters are enabled in xAdmin, the old emitter is labeled “4.2PDF” and the new emitter is labeled ”PDF”. You can still use existing “4.2 PDF” Output Definitionswhen the old emitter is disabled, but you cannot create new “4.2 PDF” Output Definitions.

See the xAdmin User Guide for more information about creating PDF output.

82

Page 83: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

Using PDF in xPression

When creating PDF output in xPression, you cannot use Printer Resident Images because the formatdoes not use a physical printer to produce the output. However, you can add the following propertiesto your PDF output:• Encryption - You can encrypt your PDF to enable or prohibit the recipient of the PDF fromperforming certain functions with the file.

• Document Properties - such as Title, Author, Creation date, and more.

• Viewer Preferences - Control the way the Acrobat viewer displays the PDF file.

• PDF bookmarks - The PDF Bookmarks feature is not supported for documents that use imposition.

• Compress Fonts in the PDF - This option compresses embedded fonts. File size is reduced butprocessing time is longer.

To learn about these features, see the xAdmin User Guide.

Note: If you want to create PDF/A output in xPression and have a large amount of customer data foryour document, select the Individual print file for each customer option in your output definition;otherwise, an out-of-memory error might occur. For more information about the Individual print filefor each customer option, see xAdmin User Guide.

Fonts in PDF

The PDF format provides direct support for TrueType, OpenType and Type 1 fonts. xPressionsupports rotation of type in any increment. The PDF emitter will embed fonts in TrueType,OpenType, and Type 1 formats. The emitter will always embed subsets for fonts to reduce file size.

If you use Type 1 fonts with PDF/A or PDF/X output, the PDF will be published, but your PDF mayfail to pass a PDF/A or PDF/X compliance test.

Embedding Fonts in xPublish

We have expanded the range of characters that can be used without being embedded in an outputPDF. Originally, xPression enabled you to publish a PDF without embedding fonts if all the characterswere within the ASCII range (0-256). Any character that fell outside of that range was embedded.Now the supported range is expanded to code page 1252. If the character is outside of this range, itwill have to be embedded.

If you want to publish a PDF with no embedded fonts, you must do the followingtwo steps:1. Ensure that all characters fall within the supported range as outlined above.

2. Set the following two parameters in the DCPI.properties file.LargeCharacterSet=falseEmbedFont=false

83

Page 84: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

Images in PDF

PDF is viewed using Adobe Acrobat. Acrobat is an RGB RIP. It takes PDF files, which are in a metafileformat, rasterizes them to screen resolution in RGB, and displays them on your monitor. Whenprinting from Acrobat, the print driver converts the PDF into a PDL appropriate for your printer.

To see a table describing what image format is used for PDF output, see How xPression DecidesWhich Format to Use, page 36. For image type recommendations for PDF, see General Image TypeRecommendations for Your PDL, page 40. For a list of natively supported image types for PDF, seePDL Native Support, page 28. To customize the image format selection for this PDL, see How toCustomize the Image Format Selection, page 37.

The PDF emitter does not convert your images to the required color space for your PDF type. If youare publishing PDF/A or PDF/X, ensure that your source image matches the color space requiredby your output PDF type. For example, if you are publishing in PDF/A-1b, you should ensure all ofyour source images use CMYK instead of RGB.

ICC Color Profiles

ICC color profiles embedded in images are supported in PDF but not in other streams. ICC colorprofiles are not honored when images are resampled. For this reason, do not use Resampling withcolor managed images.

Reverse Printing

When creating PDF output you can use the Reverse Printing feature. When this feature is enabled,the order of the printed documents in the output stream will be reversed. For example, instead ofprinting pages 1, 2, and 3, it will print in reverse order 3, 2, and 1.

For more information, see the xAdmin User Guide.

Rotating Pages 180 Degrees

When creating PDF output you can use the Rotate Pages 180 feature. When this feature is enabled,the pages in the output stream will be rotated 180 degrees. For more information, see the xAdminUser Guide.

PostScriptPostScript was developed by Adobe Systems. It is a PDL optimized for printing images and textdocuments. For PostScript output you can resample images to the output resolution, use fontsstored in your printer memory, and define the following properties for your output: Title, Author,Subject, Keywords, and Creator.

84

Page 85: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

For more information, see the xAdmin User Guide.

PostScript PPD Files

Printer definitions enable you to configure your output devices by specifying settings for your printerand identifying printer resident images. Printer definitions use your print device PostScript PrinterDescription (PPD) file to identify all of the features and settings supported by the device.

PPD files are created by vendors to describe the entire set of features and capabilities available fortheir PostScript printers. A PPD also contains the PostScript code (commands) used to invoke featuresfor the print job. As such, PPDs function as drivers for all PostScript printers, by providing a unifiedinterface for the printer’s capabilities and features.

You can import PPD files through a Printer definition in xAdmin. Once the PPD is imported, all theprinter functions described in the PPD file are available to be mapped to Markers. Markers are placedat locations in your document or in your document stream to initiate the mapped printer function.

For more information, see the xAdmin User Guide.

Reverse Printing

When creating PostScript output on the xPression Server, you can use the Reverse Printing feature.When this feature is enabled, the order of the printed documents in the output stream will bereversed. For example, instead of printing pages 1, 2, and 3, it will print in reverse order 3, 2, and 1.

For more information, see the xAdmin User Guide.

Rotating Pages 180 Degrees

When creating PostScript output on the xPression Server, you can use the Rotate Pages 180 feature.When this feature is enabled, the pages in the output stream will be rotated 180 degrees. For moreinformation, see the xAdmin User Guide.

Images in PostScript

To see a table describing what image format is used for PostScript output, see How xPression DecidesWhich Format to Use, page 36. For image type recommendations for PostScript, see General ImageType Recommendations for Your PDL, page 40. For a list of natively supported image types forPostScript, see PDL Native Support, page 28. To customize the image format selection for this PDL,see How to Customize the Image Format Selection, page 37.

85

Page 86: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

PPMLPPML (Personalized Print Markup Language) is a device-independent standard that enables thewidespread use of personalized print applications in high volume. The XML-based printer languageenables printers to manage variable data by sending all the data to the printer at once, making formuch faster printing. PPML makes the reuse of resources (reusable content) explicit, and enables theprinter to know which resources are required at particular points in the job.

TextxPression can produce output for text-only devices such as text files, plain text emails, ShortMessage Service (SMS) devices, and reports. When output is sent through a Text output definition,it is assumed that the text will not be printed directly. Text output will be formatted for use asinput to a computerized system such as email, notepad, or free text in a database. No paginationrelated functions are applied to the output, and all page-level formatting is removed. For example,xPression will ignore all headers and footers, hyphenation, tables of contents, leader characters,and page numbering.

The following list identifies the formatting options that are supported through Text output definitions.

Formatting Definition

Line Wrapping Line breaks and carriage return characters (lf/cr) are supported for the purposeof breaking long lines.

Character Sets Supports ASCII, EBCDIC, Unicode, and any other character sets supported byxPublish.

Tables Table cells are delimited by either tabs or paragraphs. This option is configurable.

Bullets All bullets are converted to asterisks (*). Indented bulleted lists will receive tabcharacters to duplicate the indentation.

Numbered Lists Numbered lists are supported. Indented numbered lists will receive tab charactersto duplicate the indentation.

TIFFTIFF output definitions enable you to send your output to archive systems, fax servers, and otherelectronic systems as an image file. xPression uses the TIFF format for the output image because TIFFprovides the highest quality image and also supports compression. xPression can produce theseimages at various bit depths and with various compression methods.

You can choose from three different bit depths: 1 (binary), 8 (grayscale), and 24 (RGB). You can alsochoose from four different compression methods: CCITT T.6, Uncompressed, LZW, and Pack Bits.

86

Page 87: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

Note: The OpenType font ZapfDingbatsStd.otf is not supported for TIFF output because it isnot supported by Multivalent, an open source tool used by xPression. EMC Document Sciencesrecommends replacing it with the Wingdings font.

87

Page 88: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Page Description Languages

88

Page 89: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Chapter 5Glossary

Adobe Type 1 FontsType 1 fonts were developed by Adobe as the initial native font format for PostScript and theApple LaserWriter in 1985. Type 1 fonts are composed of two files. One contains the glyphs, andthe other the font metrics. PFB, PFM and AFM files are used to store Type 1 fonts on all platformsexcept Macintosh. The Type 1 format supports 256 characters, and is not capable of describinglarge character set fonts.

Bit DepthBit depth is the number of colors you can use in a digital image. With a binary image (1 bit per pixel),you have only one color - black (the paper is white). With a CMYK image (32 bit per pixel) can useup to 4,294,967,296 different colors.

EmbeddingThe strategy of embedding fonts directly within a document. Documents that contain embeddedfonts can be reproduced faithfully by using the embedded fonts. When rendering the document,the font is extracted and fed to the font machinery of the rendering mechanism (PDF, PostScript,AFP, etc.). When embedding fonts, the output files must contain fonts that can range from 20k to20MB depending on the number of characters.

EncodingEncoding is the association of a number with a glyph in a font. Characters in text are representedby numeric values. When you press a key on a keyboard, you are really entering a number into thecomputer. The computer takes that number and using the encoding of the font, matches it up to alittle drawing of a character for you. This is encoding.

89

Page 90: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Glossary

Font MetricsFont metrics define information such as character width and height. Applications that use fontsgenerally stack characters up against each other. Typically the space defined by the font metric iswider than the actual glyph, otherwise characters would touch or overlap.

GlyphsA glyph is the shape given in a particular typeface to a specific symbol. It is a particular graphicalrepresentation of a character. Think of a font as a lot of very carefully drawn little drawings. Theglyph is this little drawing. Different fonts have a different number of glyphs. For example, a font cancontain a full western character set as well as a full Chinese character set.

ICC Color ProfilesColor management is the controlled conversion between the color representations of various devices(such as digital cameras, monitors, TV screens, film printers, computer printers, and offset presses)and corresponding media.

The primary goal of color management is to obtain a good color match across devices such as printersand monitors. This goal is accomplished by measuring the response of each color managed deviceand compensating for its inaccuracies when displaying colors. Each managed device has an ICC(International Color Consortium) profile that describes its response. ICC color profiles embedded inimages are supported in PDF but not in other streams.

Note: ICC color profiles are not honored when images are resampled. For this reason, do not useResampling with color managed images.

KerningKerning is the adjustment of the spacing between two specific characters when they appear together.

Lossless CompressionLossless compression refers to compression techniques in which no data is lost. The PKZIP, ZIP, andTAR compression technologies are example of lossless compression. For most types of data, losslesscompression techniques can reduce the space needed by only about 50%. These compression schemesencode redundant data with a description of that data.

90

Page 91: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Glossary

Lossy CompressionRefers to data compression techniques in which some amount of data is lost. Lossy compressiontechnologies attempt to eliminate redundant or unnecessary information. When you compress anddecompress data with lossy compression, you may retrieve data that is different from the original, butclose enough to be useful in some way. Lossy compression is most commonly used to for to compressmultimedia data (MP3, video, JPEG). While you lose data, the benefits to file size are substantial.

Page Description Language (PDL)Page Description Languages (PDLs) are languages for describing the layout and contents of a printedpage.

PixelsPicture Element (Pixel) is the most basic part of any imaging device. Pixels exist on Television,computer monitors, digital cameras and printers. All of these devices display digital images.

ResolutionResolution is the number of pixels per unit measure of an image when displayed on a particularimaging device.

Spot ColorSpot or highlight color models do not attempt to recreate all colors, instead each color is printed withits own ink. pot color is used when a process color (CMYK equivalent) is not sufficient. For example,if you are Coke, there is a specific "Coke Red" color that is required. If you are printing a colorbrochure, you will use CMYK plus a spot color in "Coke Red." The spot color will only be used whenprinting the logo or other things that you specifically want in that color.

Even though 5 colors are being used, the 5th color is NOT used in combination with CMYK, is used inspecific spots to provide an exact color match. It is not uncommon in high-end print applications touse many spot colors in addition to CMYK. When generating output, each highlight or spot color isgiven its own 8-bit image (256 shades).

In offset printing there are a number of ink vendors who sell specific colors of ink (For example,Pantone and Focoltone). PMS (Pantone Matching System) colors are very commonly used as spotcolor. When offset printing, you can use black plus one spot to be equivalent to digital highlight color,also at a much lower production cost.

91

Page 92: EMC DocumentSciences xPression// 12 Chapter2 Images Thesimplestdefinitionofadigitalimageisthatitisarectangulararrayofpixels.Thepixelisthe canbeacolor.Apixelplaysthesameroleinadigitalimage

Glossary

SubsettingSubsetting embeds only the glyphs used instead of embedding the entire font. For example, manyUnicode fonts contain Arabic and Chinese characters. If you are producing a document in German,you do not need to include these characters.

UnicodeFor large character sets xPression uses Unicode encoding. Unicode is an industry standard allowingcomputers to consistently represent and manipulate text expressed in any of the world’s writingsystems. The standard itself describes quite a few concepts, the most important for the purposes ofthis document is the ability to address and manipulate about 100,000 characters in any of the world’swriting systems in a standard way.

WINANSIFor single byte fonts xPression uses WinANSI code page 1252 encoding. Windows-1252 is a characterencoding of the Latin alphabet used by default in the legacy components of Microsoft Windowsin English and some other Western languages.

92