[mathml] Implement shaper for stretchy math operator.
This CL implements new API in order to determine metrics of stretchy math operators and shape them, following the algorithm of [1]. This will be used to implement stretchy MathML symbols (for radicals and operators). It relies on information from the OpenType MathVariants table [2] and corresponding iterators implemented in [3]. [1] https://mathml-refresh.github.io/mathml-core/#the-glyphassembly-table [2] https://docs.microsoft.com/en-us/typography/opentype/spec/math#mathvariants-table [3] https://chromium-review.googlesource.com/c/chromium/src/+/2074678 Bug: 6606 Change-Id: I362edd91fa0ff7f1d2da4381dac1e731be1e0858 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2051923Reviewed-by:Koji Ishii <kojii@chromium.org> Reviewed-by:
Dominik Röttsches <drott@chromium.org> Commit-Queue: Frédéric Wang <fwang@igalia.com> Cr-Commit-Position: refs/heads/master@{#746698}
Showing
This diff is collapsed.
Please register or sign in to comment