ImageGear Professional v18.1 > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_font_set_metrics( HIG_PDF_FONT hFont, LPAT_PDF_FONT_METRICS lpFontMetrics ); |
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. |
Error count.
This function does not process image pixels.
This function can only be used on Type 1, multiple master Type 1, and TrueType fonts; it cannot be used on Type 3 fonts.