Enrico Forestieri schreef op 7-10-2013 21:05:
On Mon, Oct 07, 2013 at 02:28:18PM -0400, Richard Heck wrote:
It is very strange that I can't reproduce, if this is the cause,
and, indeed, that people haven't been seeing this bug all along.
Actually, all my files are converted correctly. But using the one
attached to the bug report triggers reproducibly the behavior.
Not that I get converted files which are always mangled in different
ways, which is a symptom of a race condition. Also, I have some large
files (~ 700k) that convert flawlessly. So, the bug also depends on
the structure of the document, somehow.

I think I found the explanation why this document triggered this bug. The document makes heavily use of macros _and_ the macros are in view after the document is loaded. This causes the metrics computation for the macros to run while exporting the document. The function MathMacroTemplate::metrics() makes use of FontSetChanger, which is the reason why we see all those fontset-strings in the corrupted document.

Vincent

Reply via email to