Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PANOSE structure

The PANOSE structure describes the PANOSE font-classification values for a TrueType font. These characteristics are then used to associate the font with other fonts of similar appearance but different names.

Syntax


typedef struct tagPANOSE {
  BYTE bFamilyType;
  BYTE bSerifStyle;
  BYTE bWeight;
  BYTE bProportion;
  BYTE bContrast;
  BYTE bStrokeVariation;
  BYTE bArmStyle;
  BYTE bLetterform;
  BYTE bMidline;
  BYTE bXHeight;
} PANOSE, *LPPANOSE;

Members

bFamilyType

For Latin fonts, one of one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_FAMILY_TEXT_DISPLAYText and display
PAN_FAMILY_SCRIPTScript
PAN_FAMILY_DECORATIVEDecorative
PAN_FAMILY_PICTORIALPictorial

 

bSerifStyle

The serif style. For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_SERIF_COVECove
PAN_SERIF_OBTUSE_COVEObtuse cove
PAN_SERIF_SQUARE_COVESquare cove
PAN_SERIF_OBTUSE_SQUARE_COVEObtuse square cove
PAN_SERIF_SQUARESquare
PAN_SERIF_THINThin
PAN_SERIF_BONEBone
PAN_SERIF_EXAGGERATEDExaggerated
PAN_SERIF_TRIANGLETriangle
PAN_SERIF_NORMAL_SANSNormal sans serif
PAN_SERIF_OBTUSE_SANSObtuse sans serif
PAN_SERIF_PERP_SANSPerp sans serif
PAN_SERIF_FLAREDFlared
PAN_SERIF_ROUNDEDRounded

 

bWeight

For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_WEIGHT_VERY_LIGHTVery light
PAN_WEIGHT_LIGHTLight
PAN_WEIGHT_THINThin
PAN_WEIGHT_BOOKBook
PAN_WEIGHT_MEDIUMMedium
PAN_WEIGHT_DEMIDemibold
PAN_WEIGHT_BOLDBold
PAN_WEIGHT_HEAVYHeavy
PAN_WEIGHT_BLACKBlack
PAN_WEIGHT_NORDNord

 

bProportion

For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_PROP_OLD_STYLEOld style
PAN_PROP_MODERNModern
PAN_PROP_EVEN_WIDTHEven width
PAN_PROP_EXPANDEDExpanded
PAN_PROP_CONDENSEDCondensed
PAN_PROP_VERY_EXPANDEDVery expanded
PAN_PROP_VERY_CONDENSEDVery condensed
PAN_PROP_MONOSPACEDMonospaced

 

bContrast

For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_CONTRAST_NONENone
PAN_CONTRAST_VERY_LOWVery low
PAN_CONTRAST_LOWLow
PAN_CONTRAST_MEDIUM_LOWMedium low
PAN_CONTRAST_MEDIUMMedium
PAN_CONTRAST_MEDIUM_HIGHMedium high
PAN_CONTRAST_HIGHHigh
PAN_CONTRAST_VERY_HIGHVery high

 

bStrokeVariation

For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_STROKE_GRADUAL_DIAGGradual/diagonal
PAN_STROKE_GRADUAL_TRANGradual/transitional
PAN_STROKE_GRADUAL_VERTGradual/vertical
PAN_STROKE_GRADUAL_HORZGradual/horizontal
PAN_STROKE_RAPID_VERTRapid/vertical
PAN_STROKE_RAPID_HORZRapid/horizontal
PAN_STROKE_INSTANT_VERTInstant/vertical

 

bArmStyle

For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_STRAIGHT_ARMS_HORZStraight arms/horizontal
PAN_STRAIGHT_ARMS_WEDGEStraight arms/wedge
PAN_STRAIGHT_ARMS_VERTStraight arms/vertical
PAN_STRAIGHT_ARMS_SINGLE_SERIFStraight arms/single-serif
PAN_STRAIGHT_ARMS_DOUBLE_SERIFStraight arms/double-serif
PAN_BENT_ARMS_HORZNonstraight arms/horizontal
PAN_BENT_ARMS_WEDGENonstraight arms/wedge
PAN_BENT_ARMS_VERTNonstraight arms/vertical
PAN_BENT_ARMS_SINGLE_SERIFNonstraight arms/single-serif
PAN_BENT_ARMS_DOUBLE_SERIFNonstraight arms/double-serif

 

bLetterform

For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_LETT_NORMAL_CONTACTNormal/contact
PAN_LETT_NORMAL_WEIGHTEDNormal/weighted
PAN_LETT_NORMAL_BOXEDNormal/boxed
PAN_LETT_NORMAL_FLATTENEDNormal/flattened
PAN_LETT_NORMAL_ROUNDEDNormal/rounded
PAN_LETT_NORMAL_OFF_CENTERNormal/off center
PAN_LETT_NORMAL_SQUARENormal/square
PAN_LETT_OBLIQUE_CONTACTOblique/contact
PAN_LETT_OBLIQUE_WEIGHTEDOblique/weighted
PAN_LETT_OBLIQUE_BOXEDOblique/boxed
PAN_LETT_OBLIQUE_FLATTENEDOblique/flattened
PAN_LETT_OBLIQUE_ROUNDEDOblique/rounded
PAN_LETT_OBLIQUE_OFF_CENTEROblique/off center
PAN_LETT_OBLIQUE_SQUAREOblique/square

 

bMidline

For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_MIDLINE_STANDARD_TRIMMEDStandard/trimmed
PAN_MIDLINE_STANDARD_POINTEDStandard/pointed
PAN_MIDLINE_STANDARD_SERIFEDStandard/serifed
PAN_MIDLINE_HIGH_TRIMMEDHigh/trimmed
PAN_MIDLINE_HIGH_POINTEDHigh/pointed
PAN_MIDLINE_HIGH_SERIFEDHigh/serifed
PAN_MIDLINE_CONSTANT_TRIMMEDConstant/trimmed
PAN_MIDLINE_CONSTANT_POINTEDConstant/pointed
PAN_MIDLINE_CONSTANT_SERIFEDConstant/serifed
PAN_MIDLINE_LOW_TRIMMEDLow/trimmed
PAN_MIDLINE_LOW_POINTEDLow/pointed
PAN_MIDLINE_LOW_SERIFEDLow/serifed

 

bXHeight

For Latin fonts, one of the following values.

ValueMeaning
PAN_ANYAny
PAN_NO_FITNo fit
PAN_XHEIGHT_CONSTANT_SMALLConstant/small
PAN_XHEIGHT_CONSTANT_STDConstant/standard
PAN_XHEIGHT_CONSTANT_LARGEConstant/large
PAN_XHEIGHT_DUCKING_SMALLDucking/small
PAN_XHEIGHT_DUCKING_STDDucking/standard
PAN_XHEIGHT_DUCKING_LARGEDucking/large

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Wingdi.h (include Windows.h)

See also

Fonts and Text Overview
Font and Text Structures
EXTLOGFONT
OUTLINETEXTMETRIC

 

 

Show: