ImageGear for C and C++ on Linux v20.3 - Updated
IG_PDF_font_set_metrics
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_FONT > IG_PDF_font_set_metrics

Sets a font's metrics, which provide the information needed to create a substitute multiple master font when the original font is unavailable.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_font_set_metrics(
        HIG_PDF_FONT hFont,
        LPAT_PDF_FONT_METRICS lpFontMetrics
);

Arguments:

Name Type Description
hFont HIG_PDF_FONT The font whose metrics are being set.
lpFontMetrics LPAT_PDF_FONT_METRICS Pointer to a AT_PDF_FONT_METRICS structure containing the font's metrics.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

This function can only be used on Type 1, multiple master Type 1, and TrueType fonts; it cannot be used on Type 3 fonts.

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