Creates a PDE Font corresponding to a font in the system.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_font_create_from_sysfont( HIG_PDF_SYSFONT hSysFont, LONG nCreateFlags, HIG_PDF_ATOM hSnapshotName, LPAT_PDF_FIXED mmDesignVec, LPHIG_PDE_FONT lphFont ); |
Arguments:
hSysFont | PDF system font object referencing a system font. |
nCreateFlags | Indicates whether to embed the font and whether to subset the font. Must be one of enumIGPDEFontCreateFlags. If you want to subset a font, set both the IG_PDE_FONT_CREATE_EMBEDDED and IG_PDE_FONT_WILL_SUBSET flags. |
hSnapshotName | Name to be associated with this particular instantiation of the PDE Font. |
mmDesignVec | Multiple master font design vector. |
lphFont | The PDE Font corresponding to hSysFont. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
If the font is a multiple master font, mmDesignVec points to the design vector, whose length must equal the number of design axes of the font.
The enumIGPDEFontCreateFlags flags IG_PDE_FONT_CREATE_EMBEDDED and IG_PDE_FONT_WILL_SUBSET must both be set in order to subset a font.
If you create a PDE Font that is a subset, call IG_PDE_font_subset_now on this font afterwards.
Call IG_PDE_font_release to dispose of the returned font object when finished with it.