Empty PDF is generated on PDF export in Xournal++: Internal error at position -1: cairo context error: invalid tag name, attributes, or nesting<0a>
When exporting the annotations of a PDF file into a new PDF file in Xournal++, with some files I get an empty file of less than 1kB file size. Xournal++ reports:
Poppler-INFO: 06:34:14.058: Internal error at position -1: cairo context error: invalid tag name, attributes, or nesting<0a>
Poppler-INFO: 06:34:14.073: Internal error at position -1: cairo context error: invalid tag name, attributes, or nesting<0a>
Poppler-INFO: 06:34:14.095: Internal error at position -1: cairo context error: invalid tag name, attributes, or nesting<0a>
Poppler-INFO: 06:34:14.099: Internal error at position -1: cairo context error: invalid tag name, attributes, or nesting<0a>
I attach the original PDF file, my annotations in .xopp format and the broken file which has been generated as exported PDF:
See also
https://github.com/xournalpp/xournalpp/issues/3394
https://github.com/xournalpp/xournalpp/issues/3388
https://bugs.kde.org/show_bug.cgi?id=442975
I am using Poppler 21.10.0 on Manjaro Linux.