Gets the name of a font.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_font_get_name( HIG_PDF_FONT hFont, LPSTR buffer, LONG bufSize, LPLONG lpCharacterNum ); |
Name | Type | Description |
---|---|---|
hFont | HIG_PDF_FONT | The font whose name is obtained. |
buffer | LPSTR | Buffer into which the font's name is stored. The client may pass NULL to obtain the buffer size, then call the method with a buffer of the appropriate size. |
bufSize | LONG | Length of buffer, in bytes. |
lpCharacterNum | LPLONG | The number of characters in the font name. |
Error count.
This function does not process image pixels.
The behavior depends on the font type; for a Type 3 font it gets the value of the Name key in a PDF Font resource. For other types, it gets the value of the BaseFont key in a PDF font resource.