ImageGear Professional v18.4 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > Page Editing Objects and Elements > HIG_PDE_FONT > IG_PDE_font_get_widths_now |
Gets a Type0 font's width information for only the characters used in the file.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_font_get_widths_now( HIG_PDE_FONT hFont, HIG_PDF_DOC hDoc ); |
Name | Type | Description |
hFont | HIG_PDE_FONT | PDE font whose widths are found. |
hDoc | HIG_PDF_DOC | The container document. |
Error count.
This function does not process image pixels.
Call this routine when the font was created with the IG_PDE_FONT_DEFER_WIDTHS flag but without the IG_PDE_FONT_CREATE_EMBEDDED flag (if the font is to be embedded, call IG_PDE_font_subset_now, which also gets the width info).