I'm developing an equation renderer, using the Win32 API and the MATH table. I understood most of constants defined in MATH table expect several one. Since Microsoft get most of ideas from TeX, I think this is the best place to ask about. It will be great if someone could help me understand the meaning of the following constants:
How do LuaTeX or XeTeX use the following entries of the MATH table when setting math using OpenType math fonts?
MathLeading White space to be left between math formulas to ensure proper line spacing.
DelimitedSubFormulaMinHeight Minimum height required for a delimited expression to be treated as a sub-formula. Suggested value: normal line height ×1.5.
AccentBaseHeight Maximum (ink) height of accent base that does not require raising the accents. Suggested: x height of the font (os2.sxHeight) plus any possible overshots.
FlattenedAccentBaseHeight Maximum (ink) height of accent base that does not require flattening the accents. Suggested: cap height of the font (os2.sCapHeight).
Also I do not find any constants in MATH table that define a horizontal/vertical gaps in a matrix environment, are these spaces controlled by font table entries when set by luatex or xetex?
MathLeading
is for, but even that seems clear enough in principle. I just don't know what it means bybetween math fomulas
(sic). Why would anything in the MATH table affect spacing when not in maths mode? (And if you are still in maths mode, in what sense are youbetween
?)