ImageGear Professional for Linux
IG_PDE_font_create_from_sysfont_and_encoding

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:

Name Type Description
hSysFont HIG_PDF_SYSFONT PDF system font object referencing a system font.
hSysEncoding HIG_PDF_SYSENCODING A PDF SysEncoding object.
hUseThisBaseFont HIG_PDF_ATOM 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 LONG One of the enumIGPDEFontCreateFlags values.
lphFont LPHIG_PDE_FONT 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.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback