* feat(layout): measure the bold Word makes itself, letters a font lacks and more characters in Office's fonts, as Word does
Round 25's font probes, saved from Word 16 for Mac, settle what Office's fonts still stopped at:
- word-stops-office-fonts MB1 to MB3: the bold Word makes itself for Calibri Light, Franklin Gothic Book and Impact
draws each glyph 20 thousandths of an em further on than the regular at 8 to 72 points, the spaces as wide, kerned
and joined as the regular, its lines as tall. The width tables now have it, from the generator.
- FB1, FB2: the font Word draws a letter a font lacks in doesn't depend on the run's language or East Asian font, and
the line takes its ascent and descent. The width tables say which face of the tables Word draws each such letter in,
where it is Calibri, Cambria, Arial, Times New Roman or Tahoma, and a line makes room for it.
- KL1: text with ligatures isn't kerned in a font kerned by its kern table alone, whichever ligatures it has.
- word-stops-more-widths-office and word-stops-more-italic-widths: Hebrew, Thai, box drawing, shapes, symbols and
dingbats in Office's other fonts and in the five fonts' italics, as Word draws them.
- DS and word-stops-font-heights: font files' lines are as tall as their hhea tables make them, and go their descender
below the baseline. Font files whose GPOS table doesn't kern Latin text are kerned by their kern table, and not with
ligatures.
MB4 showed Word drawing Pacifico, which the document embeds, in Office's own copy of it, so bold text in a font given or
embedded without a bold face still stops.
* fix(layout): report KL lines the office-fonts reader doesn't find, rather than stopping
word-stops-office-fonts.py indexed the kerning of a KL1 line, and the words of KL2's, without checking it found the line
whole, so a PDF without one, or with one Word broke, stopped the reader before KL2 and DS. They now print "not found",
as MB does.
* feat(layout): lay out document grids and East Asian settings at more of their stops, as Word does
* feat(layout): lay out text that runs down the page at more of its stops, as Word does
* feat(layout): measure Hebrew, Thai, box drawing, shapes, symbols and dingbats as Word lays them out, and Thai justified for it
* feat(layout): lay out imported documents whose formatting is kept, and whose own styles' defaults give no font or size, as Word does
* fix(layout): stop at endnotes that a section of another grid or direction follows, as Word ends them with their own section
* feat(layout): measure the Arabic-Indic and Devanagari digits as Word lays them out, as list and page numbers write them
* docs(layout): say what document grids, text down the page, Thai, imported documents and more characters lay out as, and list the batch's probes
* test(layout): probes of indents on grids, endnotes before another grid or direction, Japanese strict rules and compression, and Arabic's joined forms, for Word's next batch
* fix(layout): stop at an imported document whose formatting is kept that ends in a content control
Word gives the last paragraph of an imported document whose formatting is kept none of its space after. Where that
paragraph is in a content control or custom XML, the layout took off the space after of an earlier paragraph at the top
of the imported body, or threw where there was none. Which paragraph Word takes it off there hasn't been seen, so the
layout stops rather than guessing.
* fix(layout): read an imported document's w:matchSrc as on or off
w:matchSrc is an on/off property (CT_OnOff), so a w:val of 0, false or off turns keeping the imported document's
formatting off, and its paragraphs take the document's styles of the same names. The layout kept its formatting whenever
the element was there.
* docs(layout): say that an imported document whose formatting is kept stops the layout where it ends in a content control
* docs(layout): say in the imported documents probe what Word's PDF of it showed, and what still stops
* docs(layout): say which fonts Hebrew, Thai, bullets and symbols are measured in, and where they stop the layout
* test(layout): probe Hebrew, Thai, bullets and symbols in Office's other fonts and in italic, for Word's next batch
* fix(layout): stop at East Asian or right-to-left text in an imported document's notes where its styles give no font
Where an imported document's own styles give its Latin text Word's own font, the layout stops at East Asian or
right-to-left text in it, as which font Word gives that text hasn't been seen. It looked only at the imported body, so text
in its footnotes and endnotes, which are merged with the document's, went on without the stop.
* docs(layout): leave Cambria's and Times New Roman's Devanagari digits out of the characters measured as Word draws them
* docs(layout): give GR12's columns as the probe writes them, 2000 and 6526 twips