Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_font_create_from_sysfont_and_encoding( HIG_PDF_SYSFONT hSysFont, HIG_PDF_SYSENCODING hSysEncoding, HIG_PDF_ATOM hUseThisBaseFont, LONG nCreateFlags, LPHIG_PDE_FONT lphFont ); |
Arguments:
hSysFont | PDF system font object referencing a system font. |
hSysEncoding | A PDF SysEncoding object. |
hUseThisBaseFont | The base font. An error will be set if the base font name passed is a subset name (XXXXXX+FontName) or an empty string. |
nCreateFlags | One of the enumIGPDEFontCreateFlags values. |
lphFont | The new PDE Font object. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
Create a PDE Font from hSysFont and hSysEncoding. If it fails, it returns an error. Users can call IG_PDF_sysfont_get_create_flags to see if the combination of hSysFont and hSysEncoding makes sense.
Call IG_PDE_font_release to dispose of the returned font object when finished with it.