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.

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

dlpdffontcreateembedded (DLPDFDOC *Doc,<br />

char *fontName, char *fontType, ASBool Subset)<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 embedded <strong>and</strong> created in<br />

the document's default encoding if that encoding<br />

is compatible with the font; otherwise, a<br />

platform-dependent default will be used. If the<br />

Subset parameter is set to TRUE, the font will<br />

be embedded <strong>and</strong> subset.<br />

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

to embed all fonts<br />

• char *fontName: Font name to search for<br />

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

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

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

• ASBool Subset: If TRUE, then the font is<br />

both embedded <strong>and</strong> subset. If FALSE, the<br />

entire font file is embedded in the PDF<br />

document. For Type0 fonts, this must be<br />

TRUE.<br />

The DLPDFFONT which has been created<br />

Exceptions<br />

Header<br />

Related Methods<br />

Availability<br />

dli.h<br />

dlpdfdocembedfonts,<br />

dlpdffontcreate,<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!