Commit Graph
1 Commits
Author SHA1 Message Date
kiwi4boy a5a8829a14 craft-math: no m:sty or m:scr on normal text in an equation (port of wordcraft#6082)
CT_RPR holds m:nor or m:scr/m:sty, not both, and Word keeps only the m:nor of such a run, so bold
normal text lost its bold there. Normal text now writes neither; its bold and italic go in w:rPr
(w:b/w:i), which the reader already reads back for normal text.

Ported from storytold/wordcraft#6082 (issue wordcraft#6073). The writer change moves from
WordCraft's docx/src/write/math.rs to omml/write.rs, where the OMML writer now lives. Its test
saves and reopens a .docx, so it goes into craft-docx's integration tests
(tests/it/math_normal_text.rs) with only the crate names changed.
2026-11-12 22:02:35 -05:00