22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.10 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

containing the Adobe st<strong>and</strong>ard character set will be used; with ASAtomNull, any<br />

character set will be acceptable.<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

The wMode field in the PDEFontAttrs font attributes structure may be set to 0<br />

(horizontal) or 1 (vertical) to select a font of the appropriate writing mode.<br />

The other fields in the font attributes structure are explained in Adobe PDF Library<br />

documentation.<br />

Width Table<br />

A width table may be included with this method for use with TrueType or Type1<br />

fonts. Generally, you should include such a table specifically in cases where you expect<br />

that the font is not known either to the Adobe PDF Library or to Adobe Reader, or<br />

when character widths have to be altered — for example, in the case where an<br />

encoding vector (described below) is used. This table is arranged from the first<br />

character to the 256th character for the encoding or encoding vector used to create<br />

the font.<br />

A font not present on the system must be represented by a width table.<br />

Encoding Vector<br />

You may wish to modify the encoding vector for a Type1 or TrueType font. There are<br />

many reasons for doing this. It is required if you must access characters within the<br />

font not normally encoded. It may be done as a convenience when your data is<br />

encoded differently from the default encoding of the font. Encodings which are not<br />

based on any of the predefined font encodings may also be created <strong>and</strong> used in this<br />

manner.<br />

The encoding vector is an array of 256 pointers to strings. The values of the strings<br />

are the glyph names of the encoded characters, as these are defined in the font.<br />

Positions which are not encoded should contain the string .notdef.<br />

Type0 fonts may not be encoded. Further, some TrueType fonts may behave<br />

unpredictably if an encoding vector is supplied. The PDF <strong>Reference</strong> Manual

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!