Gets the advance width of every glyph in a font.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_font_get_widths( HIG_PDF_FONT hFont, LPSHORT lpWidths ); |
Arguments:
Name | Type | Description |
hFont | HIG_PDF_FONT | The font whose glyph advance widths are obtained. |
lphSubType | LPSHORT | An array of glyph advance widths, measured in character space units. Unencoded code points will have a width of zero. For non-Roman character set viewers, an array for a single byte range (0 through 255). |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
The advance width is the amount by which the current point advances when the glyph is drawn. The advance width may not correspond to the visible width of the glyph (for example, a glyph representing an accent mark might have an advance width of zero so that characters can be drawn under it). For this reason, the advance width cannot be used to determine the glyphs' bounding boxes. For non-Roman character set viewers, this function gets the width for a single byte range (0 through 255).