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.

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

dlpdffontcreate (DLPDFDOC *Doc, char *fontName,<br />

char *fontType)<br />

Return Value: DLPDFFONT*<br />

Description<br />

Parameters<br />

Return Value<br />

This function call will cause the Adobe PDF<br />

Library to search the system default font locations<br />

<strong>and</strong> the locations supplied at initialization<br />

time for a font of the specified name (<strong>and</strong> of the<br />

specified type, if supplied). If a font cannot be<br />

located, this call will raise an exception. The<br />

font returned will be created in the document's<br />

default encoding if that encoding is compatible<br />

with the font; otherwise, a platform-dependent<br />

default will be used.<br />

• DLPDFDOC *Doc: The document for which<br />

to embed all fonts<br />

• char *fontName: The font name to search<br />

for<br />

• char *fontType: The type of font (e.g.<br />

"Type1," "TrueType," "Type3") to<br />

search for. This may be NULL.<br />

The DLPDFFONT * which has been created<br />

Exceptions<br />

Header<br />

Related Methods<br />

Availability<br />

dli.h<br />

dlpdfdocembedfonts,<br />

dlpdffontcreateembedded,<br />

dlpdffontcreatewithmetrics,<br />

dlpdffontcreatewithmetricsembedded<br />

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

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

Saved successfully!

Ooh no, something went wrong!