Translates an array of 256 glyph advance widths from their order in the PDF file into host encoding order.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_font_translate_widths( HIG_PDF_FONT hFont, LPSHORT inP, LPSHORT outP ); |
Name | Type | Description |
---|---|---|
hFont | HIG_PDF_FONT | The font whose glyph widths are translated. |
inP | LPSHORT | Array of glyph advance widths to rearrange. |
outP | LPSHORT | Rearranged array of glyph advance widths. |
Error count.
This function does not process image pixels.
If the widths are already in host encoding order, the widths are merely copied. All un-encoded code points are given a width of zero. For non-Roman character set viewers, it is not appropriate to call this function.