ImageGear Professional > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_font_subset_now( HIG_PDE_FONT hFont, HIG_PDF_DOC hDoc ); |
Name | Type | Description |
hFont | HIG_PDE_FONT | PDE font to subset. |
hDoc | HIG_PDF_DOC | The document whose font is subset. |
Error count.
This function does not process image pixels.
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.