ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDE_font_get_widths_now
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > 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

Glossary Item Box

Gets a Type0 font's width information for only the characters used in the file.

Declaration:

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

Arguments:

hFont PDE font whose widths are found.
hDoc The container document.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

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).

©2012. Accusoft Corporation. All Rights Reserved.