Text mode: Combine adjacent spans when possible for cleaner HTML.

So `\text{Hi}` becomes one <span...>Hi</span>, rather than two
<span...>H</span><span...>i</span>.

This allows the font renderer to apply kerning, which changes some
test output.
This commit is contained in:
Eddie Kohler
2016-11-28 11:24:12 -05:00
parent b88bc7723d
commit 576380c11c
6 changed files with 49 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.2 KiB