Previously reported as: https://bugs.kde.org/show_bug.cgi?id=171416 libspectre fails to render the second page of the specified document (available as attachment in the original bug report). When trying to render it, the following line: undefined -21 is outputted to console. This happens with both libspectre 0.2.0, and the current Git/master version.
Hey pino, the problem with that document is that the second page depends on the first one. Try with gv -page=2 for instance. I think this document should include an Special PageOrder comment header. Add %%PageOrder: Special at the end of the initial comments and it will work.
So the problem is really in the document? Isn't anything that libspectre can do to handle this situation?
(In reply to comment #2) > So the problem is really in the document? Well, I think the document is thought for printing, assuming it'll always be read sequentially. > Isn't anything that libspectre can do to handle this situation? > I'm not sure, but I don't think so. Ideas are always welcome, of course.
Looks like a problem in the document itself rather than a libspectre issue, closing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.