Xerox 721P87491 Producing Type 1 fonts for use with DocuPrint, Using a Type 1 font in a document

Page 31

POSTSCRIPT

Font characters are cached so that multiple uses of a visual element in a document are rendered quicker if the elements are taken from a font than if they are read from supplementary files.

Including graphic images is easier when creating the document.

Producing Type 1 fonts for use with DocuPrint

Third-party software for font editing and creation is available for most popular personal computing systems. With these programs, you can edit or produce outlines from a bitmap obtained by scanning existing line art.

Each graphical item that is referenced must be assigned to a character code in a font. You can incorporate many graphic elements in a single font by assigning each element to a different character code, or you can place each item in its own font.

Once created, you must save Type 1 fonts on an MS-DOS diskette as files with the .pfb extension. You can then load the fonts from diskette onto a DocuPrint system using the administrator Install Fonts From Floppy command.

Using a Type 1 font in a document

When you create a document using a standard document editor, you enter the character that refers to the graphic image you want, assign the appropriate font to it, and size and place it to fit the document. If you are using Adobe Type Manager, the image is scaled and displayed.

The PostScript driver of the document editor selects the font using the PostScript operator findfont and scales the font using scalefont. Once the font is installed as current by the setfont operator, any show of a character images the figure associated with that character code.

For example, you can create a font containing a corporate logo, assigned to the character a. The following PostScript example shows how the specific size of the logo font is assigned a name within a master, and how the logo is placed on a page.

/Logo /XYZCorpLogos findfont 20 scalefont def Logo setfont

50 50 moveto (a) show

XEROX DOCUPRINT NPS GUIDE TO USING PAGE DESCRIPTION LANGUAGES

2-5

Image 31
Contents Version 7.1 August 2000 721P87491 Page Operation safety Laser safetyOzone information Conductor may result in risk of electrical shock. grounding Table of contents PostScript Index VippViii About this guide ContentsConventions Introduction Related information Related publicationsPostScript publications Vipp publication HP PCL 5 publicationsMaintaining image quality PCLOFF PCL 5 font support PCL 5 media supportPCL 5 fonts installed with NPS software PJL commands PCL command supportPCL Copy command Duplex PCL Copy command example PCL Copy command examplePCL Duplex commands DocuPrint NPS Collated HP LaserJet 4si PCL Duplex commandsPCL Job Separation command PCL media selection PCL Paper Source command tray assignmentPrecedence in selecting media PCL Offset Registration commands PCL Output Bin commandPCL 5 coding recommendations PCL 5c supportPCL 5c functions not applicable to DocuPrint NPS PCL 5c coding recommendationsLimitations for custom PCL 5c drivers Driver recommendations for PCL 5cImplementation-dependent operations Coordinate system default matrixFloating-point arithmetic and math operators Adobe Type1 PostScript fonts Fonts Font Typeface User-defined fonts Loading fontsType 1 fonts Using Adobe Type 1 fontsProducing Type 1 fonts for use with DocuPrint Using a Type 1 font in a documentPostScript language extensions PostScript with embedded PJL commandsSystem Dict Server Dict User DictIdleTime Dictionary Status DictDfltkIdleArry needflush Nonstandard definitions Statusdict Userdict Printer resolution and resolution enhancementAppearance consistency Examples of nonstandard definitionsDpi image Printed on a 300 dpi printer Printer imaging characteristics Proprietary PostScript extensions Font consistencyControl-D as binary data and end-of-job Control-Z and superfluous errorsSolution to control-Z and control-D problems Multiple jobs in one input file Simulated mixed plex DocuPrint NPS implementation of PostScript LevelScan conversion details Printer Controller operationsStroke Shapes FillCurved shapes Zero-width lines strokesImages Image quality Rendering of color and gray values transfer function Implementation limits PostScript printer description PPD filesImplementation limits File operators and standard devicesQuantity Limit Description Device orientation and setscreen operator Path limitsPostScript VM limits SetCacheDeviceObsolete operators-banddevice, framedevice, renderbands PostScript storage object size limitsArc to Bezier conversion-pathforall Print performance related to image printing Creating the necessary PostScript Ccitt Group 3Scan order and rotation Image orientation mismatch a PurposeImage orientation mismatch B 10.Image pixel sequence example Summary Considerations11.Scaling and resolution example Scan resolution and scaling12.PostScript with embedded image normal scan order MaxX exch def /minY exch def /minX exch def 14.Actual PostScript print Page Vipp Operating environment FunctionalityVipp line mode extension XGFNub Page Ccitt SymbolsIndex PCL PPD Index