ImageGear Professional DLL v17.1 for Windows Accusoft
AT_PDF_FONT_METRICS
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Structures Reference > AT_PDF_FONT_METRICS

Glossary Item Box

Font metrics.

Declaration:

  Copy Code
typedef struct tagAT_PDF_FONT_METRICS
{
        UINT flags;                             
        AT_PDF_FIXEDRECT fontBBox;                      
        AT_INT16 missingWidth;          
        AT_INT16 stemV;                         
        AT_INT16 stemH;                         
        AT_INT16 capHeight;                     
        AT_INT16 xHeight;                       
        AT_INT16 ascent;                                
        AT_INT16 descent;                       
        AT_INT16 leading;               
        AT_INT16 maxWidth;                      
        AT_INT16 avgWidth;                      
        AT_INT16 italicAngle;           
        AT_PDF_FONT_STYLES style;                               
        AT_INT16 baseLineAdj;           
} AT_PDF_FONT_METRICS;

Members:

flags Must be an OR of the Font Flags values. All unused flags must be off.
fontBBox Font bounding box in 1000 EM units. (An EM is a typographic unit of measurement equal to the size of a font. In a 12-point font, an EM is 12 points.)
missingWidth Width of missing character.
stemV Vertical stem width.
stemH Horizontal stem width.
capHeight Capital height.
xHeight X height.
ascent Max ascender height.
descent Max descender depth.
Leading Additional leading between lines.
maxWidth Maximum character width.
avgWidth Average character width.
italicAngle Italic angle in degrees, if any.
style Panose and sFamily class values.
baseLineAdj Baseline adjustment, which is a vertical adjustment for font baseline difference and writing mode 1 (vertical). This should only be used for CIDFontType 2 fonts with font substitution.
©2012. Accusoft Corporation. All Rights Reserved.