typedef struct tagFMDISTANCESET { /* fmdst */
WORD dFaceName;
WORD dFamilyName;
WORD dAvgWidth;
WORD dXHeight;
WORD dSize;
WORD dTech;
WORD dPanFamilyType;
WORD dPanSerifStyle;
WORD dPanWeight;
WORD dPanProportion;
WORD dPanContrast;
WORD dPanStrokeVariation;
WORD dPanArmStyle;
WORD dPanLetterForm;
WORD dPanMidline;
WORD dPanXHeight;
WORD dCharSet;
} FMDISTANCESET;
The FMDISTANCESET structures specifies the set of weighted distances between two fonts.
dFaceName
Specifies the difference in face names as as function of the difference in the EXTLOGFONT::elfLogFont.lfFaceName field. If two fonts have identical names then the distance is zero; otherwise the distance is a specified amount as set by the font mapper controls
dFamilyName
Specifies the difference in family names as a function of the EXTLOGFONT::elfFamilyName field. If two fonts have identical names then the distance is zero, otherwise the distance is a specified amount as set by the font mapper controls.
dAvgWidth
Specifies the difference in average width of two fonts as a function of the difference in the EXTLOGFONT::elfLogFont.lfWidth field.
dXHeight
Specifies the difference in x-height of two fonts as a function of the difference in the EXTLOGFONT::elfXHeight field
dSize
Specifies the difference in size of two fonts as a function of the difference in the EXTLOGFONT::elfLogFont.lfHeight field.
dTech
Specifies the difference in font technologies as a function of the difference in the EXTLOGFONT::elfTech field.
dPanFamilyType
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bFamilyType field.
dPanSerifStyle
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bSerifStyle field.
dPanWeight
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bWeight field.
dPanProportion
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bProportion field.
dPanContrast
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bContrast field.
dPanStrokeVariation
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bStrokeVariation field.
dPanArmStyle
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bArmStyle field.
dPanLetterform
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bLetterform field.
dPanMidline
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bMidline field.
dPanXHeight
Specifies the difference in the font family as a function of the difference in the EXTLOGFONT::elfPanose.bXHeight field.
dCharSet
Specifies the difference in the font character set as a function of the difference in the EXTLOGFONT::charset field.