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

Glossary Item Box

Attributes for HIG_PDE_FONT and HIG_PDF_SYSFONT.

Declaration:

  Copy Code
typedef struct tagAT_PDE_FONTATTRS
{
        HIG_PDF_ATOM name;
        HIG_PDF_ATOM type;
        HIG_PDF_ATOM charSet;
        HIG_PDF_ATOM encoding;
        UINT flags;
        AT_PDF_FIXEDRECT fontBBox;                              
        SHORT missingWidth;                     
        SHORT stemV;                            
        SHORT stemH;                            
        SHORT capHeight;                                
        SHORT xHeight;                          
        SHORT ascent;                           
        SHORT descent;                          
        SHORT leading;                          
        SHORT maxWidth;                         
        SHORT avgWidth;                         
        SHORT italicAngle;                      
        HIG_PDF_ATOM cidFontType;                       
        SHORT wMode;                            
        HIG_PDF_ATOM psName;                            
        HIG_PDF_ATOM platformName;              
        HIG_PDF_ATOM lang;                      
        HIG_PDF_ATOM registry;                  
        HIG_PDF_ATOM ordering;
        LONG supplement;
        LONG cantEmbed;
        HIG_PDF_ATOM deltaEncoding;
        UINT protection;
        LONG packageType;
} AT_PDE_FONTATTRS;
typedef AT_PDE_FONTATTRS FAR* LPAT_PDE_FONTATTRS;

Members:

HIG_PDF_ATOM name A HIG_PDF_ATOM for font name, as in "Times-Roman." Corresponds to the BaseFont key in the font dictionary of a PDF file (see Section 5.6.3 in the PDF Reference).
HIG_PDF_ATOM type A HIG_PDF_ATOM for font type, corresponding to the Subtype key in a font dictionary. May be "Type1," "TrueType," "MMType1," or "Type0."
HIG_PDF_ATOM charSet A HIG_PDF_ATOM for "Roman" or IG_PDF_ATOM_NULL. If "Roman," the characters must be a subset of the Adobe Standard Roman Character Set.
HIG_PDF_ATOM encoding A HIG_PDF_ATOM for font encoding. May be MacRomanEncoding, WinAnsiEncoding, or IG_PDF_ATOM_NULL. In the case of IG_PDF_ATOM_NULL, call PDSysFontGetEncoding to get more information about the encoding.
UINT flags Desired font flags, one or more of Font Flags. Use IG_PDF_SCRIPT, etc. to get flags.
AT_PDF_FIXEDRECT fontBBox Font bounding box in 1000 EM units.
SHORT missingWidth Width of missing character (.notdef).
SHORT stemV Vertical stem width.
SHORT stemH Horizontal stem width.
SHORT capHeight Capital height.
SHORT xHeight X height.
SHORT ascent Max ascender height.
SHORT descent Max descender depth.
SHORT leading Additional leading between lines.
SHORT maxWidth Maximum character width.
SHORT avgWidth Average character width.
SHORT italicAngle Italic angle in degrees, if any.
HIG_PDF_ATOM cidFontType CIDFontType0 or CIDFontType2.
SHORT wMode Writing mode. Must be one of 0 for horizontal writing or 1 for vertical writing.
HIG_PDF_ATOM psName HIG_PDF_ATOM representing the PostScript name of a TrueType font.
HIG_PDF_ATOM platformName The platform name.
HIG_PDF_ATOM lang HIG_PDF_ATOM representing the ISO 639 language code. These are available from http://www.iso.ch.
HIG_PDF_ATOM registry HIG_PDF_ATOM representing the CIDFont's Registry information, as in "gAdobe-Japan".
HIG_PDF_ATOM ordering HIG_PDF_ATOM representing the CIDFont's Ordering information, for example, "g1".
LONG supplement The SystemSupplement field from the CIDFont.
LONG cantEmbed A non-zero value means the font can't be embedded.
HIG_PDF_ATOM deltaEncoding The name of the base encoding; that is, the BaseEncoding entry in an encoding dictionary (see section 5.5.5 of the PDF Reference). The Differences entry of the encoding dictionary describes differences (deltas) from the base encoding.
UINT protection protection Allows setting one of the following bits to disable font embedding: IG_PDE_FONT_NO_EMBEDDING = 1: font should not be embedded. IG_PDE_FONT_NO_EDITABLE_EMBEDDING = 2: font should not be embedded for editing purposes.
LONG packageType enumIGPDFSysFontPackageType value.
©2012. Accusoft Corporation. All Rights Reserved.