ImageGear for C and C++ on Windows v20.3 - Updated
IG_PDE_font_subset_now
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_FONT > IG_PDE_font_subset_now

Subsets a given PDE Font in hDoc.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDE_font_subset_now(
        HIG_PDE_FONT hFont,
        HIG_PDF_DOC hDoc 
);

Arguments:

Name Type Description
hFont HIG_PDE_FONT PDE font to subset.
hDoc HIG_PDF_DOC The document whose font is subset.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

If you created font with IG_PDE_font_create_from_sysfont, you must have set both the IG_PDE_FONT_CREATE_EMBEDDED and IG_PDE_FONT_WILL_SUBSET set in the flags parameter to be able to subset the font.

Is this page helpful?
Yes No
Thanks for your feedback.