- Use the
- MathVariants
- table to try and find a glyph of height at least
- DisplayOperatorMinHeight.
- If none is found, fall back to the
- largest non-base glyph. If none is found, fall back to
- the layout algorithm of .
-
+ If it is not possible to shape a stretchy glyph
+ corresponding to c in the block direction
+ with the
+ first available font
+ then fall back to the
+ layout algorithm of .
+
+ Here we treat a non-[=embellished operator/stretchy=] [=embellished operator/largeop=]
+ glyph as stretchy with target dimension DisplayOperatorMinHeight.
+
- Paint the glyph.
+ The inline size,
+ ink line-ascent,
+ ink line-descent,
+ line-ascent and
+ line-descent
+ of the math content
+ are obtained by the algorithm to
+ shape a stretchy glyph
+ to block dimension
+ DisplayOperatorMinHeight.
+ The inline size of the math content is the width of
+ the stretchy glyph. The stretchy glyph is shifted
+ towards the line-under by a value Δ so that its
+ center aligns with the center of the target when
+ [=embellished operator/symmetric=]:
+ the ink ascent of the math content is
+ the ascent of the stretchy glyph − Δ
+ and the ink descent of the math content is
+ the descent of the stretchy glyph + Δ.
+
+
+ If the operator has the [=embellished operator/symmetric=] property,
+ then
+ Δ = [(ascent of stretchy glyph − descent of stretchy glyph) − 2 * AxisHeight] / 2.
+
+
+ Otherwise,
+ Δ = 0.
+
+
+
+ The point of Δ here is simply to vertically align the operator when [=embellished operator/symmetric=].
+