Comment 1 for bug 1169723

Revision history for this message
Gediminas Paulauskas (menesis) wrote : Re: KeyError: "'Times_New_Roman'\n handle_pageBegin args=()"

z3c.rml since 1.1.0 calls _reset when processing each document

A comment in z3c.rml.document.Document process method:

        # Reset all reportlab global variables. This is very important for
        # ReportLab not to fail.

Doing this, the fonts we registered are no longer set up correctly.

We register our own reset handler to setUpFonts again.