6
// Font that specifies how TexFormula objects are rendered.
7
internal interface ITeXFont
11
ITeXFont DeriveFont(double newSize);
13
ExtensionChar GetExtension(CharInfo charInfo, TexStyle style);
15
CharFont GetLigature(CharFont leftChar, CharFont rightChar);
17
CharInfo GetNextLargerCharInfo(CharInfo charInfo, TexStyle style);
19
CharInfo GetDefaultCharInfo(char character, TexStyle style);
21
CharInfo GetCharInfo(char character, string textStyle, TexStyle style);
23
CharInfo GetCharInfo(CharFont charFont, TexStyle style);
25
CharInfo GetCharInfo(string name, TexStyle style);
27
double GetKern(CharFont leftChar, CharFont rightChar, TexStyle style);
29
double GetQuad(int fontId, TexStyle style);
31
double GetSkew(CharFont charFont, TexStyle style);
33
bool HasSpace(int fontId);
35
bool HasNextLarger(CharInfo charInfo);
37
bool IsExtensionChar(CharInfo charInfo);
41
double GetXHeight(TexStyle style, int fontId);
43
double GetSpace(TexStyle style);
45
double GetAxisHeight(TexStyle style);
47
double GetBigOpSpacing1(TexStyle style);
49
double GetBigOpSpacing2(TexStyle style);
51
double GetBigOpSpacing3(TexStyle style);
53
double GetBigOpSpacing4(TexStyle style);
55
double GetBigOpSpacing5(TexStyle style);
57
double GetSub1(TexStyle style);
59
double GetSub2(TexStyle style);
61
double GetSubDrop(TexStyle style);
63
double GetSup1(TexStyle style);
65
double GetSup2(TexStyle style);
67
double GetSup3(TexStyle style);
69
double GetSupDrop(TexStyle style);
71
double GetNum1(TexStyle style);
73
double GetNum2(TexStyle style);
75
double GetNum3(TexStyle style);
77
double GetDenom1(TexStyle style);
79
double GetDenom2(TexStyle style);
81
double GetDefaultLineThickness(TexStyle style);
8
// Font that specifies how TexFormula objects are rendered.
9
internal interface ITeXFont
13
ITeXFont DeriveFont(double newSize);
15
ExtensionChar GetExtension(WpfMath.CharInfo charInfo, TexStyle style);
17
WpfMath.CharFont GetLigature(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar);
19
WpfMath.CharInfo GetNextLargerCharInfo(WpfMath.CharInfo charInfo, TexStyle style);
21
WpfMath.CharInfo GetDefaultCharInfo(char character, TexStyle style);
23
WpfMath.CharInfo GetCharInfo(char character, string textStyle, TexStyle style);
25
WpfMath.CharInfo GetCharInfo(WpfMath.CharFont charFont, TexStyle style);
27
WpfMath.CharInfo GetCharInfo(string name, TexStyle style);
29
double GetKern(WpfMath.CharFont leftChar, WpfMath.CharFont rightChar, TexStyle style);
31
double GetQuad(int fontId, TexStyle style);
33
double GetSkew(WpfMath.CharFont charFont, TexStyle style);
35
bool HasSpace(int fontId);
37
bool HasNextLarger(WpfMath.CharInfo charInfo);
39
bool IsExtensionChar(WpfMath.CharInfo charInfo);
43
double GetXHeight(TexStyle style, int fontId);
45
double GetSpace(TexStyle style);
47
double GetAxisHeight(TexStyle style);
49
double GetBigOpSpacing1(TexStyle style);
51
double GetBigOpSpacing2(TexStyle style);
53
double GetBigOpSpacing3(TexStyle style);
55
double GetBigOpSpacing4(TexStyle style);
57
double GetBigOpSpacing5(TexStyle style);
59
double GetSub1(TexStyle style);
61
double GetSub2(TexStyle style);
63
double GetSubDrop(TexStyle style);
65
double GetSup1(TexStyle style);
67
double GetSup2(TexStyle style);
69
double GetSup3(TexStyle style);
71
double GetSupDrop(TexStyle style);
73
double GetNum1(TexStyle style);
75
double GetNum2(TexStyle style);
77
double GetNum3(TexStyle style);
79
double GetDenom1(TexStyle style);
81
double GetDenom2(TexStyle style);
83
double GetDefaultLineThickness(TexStyle style);