mirror of
https://github.com/dolanmiu/docx.git
synced 2026-11-30 16:47:55 +01:00
* feat(layout): break lines of Chinese, Japanese and Korean, and measure East Asian and right-to-left text, as Word does * refactor(layout): keep the language and East Asian marks of text out of shapes' spans * test(layout): cover the remaining branches, and check docx/layout against Word's kinsoku probes * docs(layout): list word-unicode and word-unicode2 among the layout probes * style(layout): format the wrapping of a word wider than a line * fix(layout): keep a character with its marks and what a zero-width joiner joins to it when a long word is split, across runs A word wider than a line was split after the last character that fits, grouping each character with its marks only within one run, and breaking after a zero-width joiner, where findLineBreaks never breaks. An accent in a run of its own, or a joined emoji, could be split across lines.
234 KiB
234 KiB