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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A.182 <strong>DLI</strong> <strong>Reference</strong> <strong>Guide</strong><br />

dlpdfttload (DLPDFINSTANCE *Instance, ASFile<br />

TTFont, ASAtom *Names, int NameLen)<br />

Return Value: int<br />

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

Description<br />

Parameters<br />

Return Value<br />

This method loads the given font from an<br />

ASFile TrueType or OpenType font file, or the<br />

fonts from a TrueType/OpenType Collection<br />

font file. These fonts are loaded into the supplied<br />

DLPDFINSTANCE. Fonts loaded in this<br />

manner are used before searching the system<br />

directories for fonts.<br />

• DLPDFINSTANCE *Instance: the<br />

DLPDFINSTANCE for which the font(s) will<br />

be loaded<br />

• ASFile TTFont: fonts from file or<br />

collection to be loaded<br />

• ASAtom *Names: pointer to font<br />

ASAtom(s) to be loaded (one or more)<br />

• int NameLen: number of ASAtom *Names<br />

to be completed<br />

int: Number of fonts loaded<br />

Exceptions<br />

Header<br />

dli.h<br />

Related Methods<br />

Availability<br />

All <strong>DLI</strong>-supported platforms.

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

Saved successfully!

Ooh no, something went wrong!