https://bugs.winehq.org/show_bug.cgi?id=56044
--- Comment #7 from Eric Pouech eric.pouech@gmail.com --- Created attachment 75900 --> https://bugs.winehq.org/attachment.cgi?id=75900 exploration patch
Thanks for the log.
Unfortunately, from retrying with the messages logged in #2, I'm always getting RTF content from EM_STREAMOUT.
I can see two possible cause of the bug: - I couldn't repro some of the messages because from passed structures were not dumped. Esp. in CHARFORMAT2A where there are bits regarding revision marks and modification, which the bug is about. Could be correlated, could be not. - the caller of EM_STREAMOUT reparses the RTF output. There are a couple of differences in generated RTF between Wine's, but the parser shouldn't be too tied to some constructs. I spotted one diff that could cause some issue (but that's a very long long shot). (and maybe it's the combination of the two items here, where the caller grabs the RTF for revised code!)
So, the attached patch should help dig into this two paths. Could you please regenerate the logs as done in #5 with Wine recompiled with this patch.
TIA