upstream just released 0.4.5. Most notably, poppler replaced pdftoppm as the pdf rendering engine, making annotating large pdf files practical This also solves bug 276696: http://bugs.gentoo.org/show_bug.cgi?id=276696 Reproducible: Always Steps to Reproduce:
Thanks for the release notification, assigning to maintainer.
Created attachment 206990 [details] experimental ebuild
Marcel, thank you for the ebuild. I have only included the poppler dependency changes in the bump. Why did you remove pkgconfig and the gnome eclass parts? *xournal-0.4.5 (01 Nov 2009) 01 Nov 2009; Robert Buchholz <rbu@gentoo.org> +xournal-0.4.5.ebuild: Version bump, change to poppler (bug #287701).
(In reply to comment #3) > Marcel, thank you for the ebuild. I have only included the poppler dependency > changes in the bump. Why did you remove pkgconfig and the gnome eclass parts? Removing the pkgconfig dependency was an accident. As far as I remember I got a QA warnings using the gnome2 eclass, but i think you're right using the gnome2 eclass anyway.
The warnings are caused by the src_configure as defined in the gnome2 eclass. Fixed now, I hope. + 01 Nov 2009; Robert Buchholz <rbu@gentoo.org> xournal-0.4.5.ebuild: + Override src_configure of the gnome2 eclass because of a QA warning +
Hi rbu, (In reply to comment #0) > upstream just released 0.4.5. Most notably, poppler replaced pdftoppm as the > pdf rendering engine, making annotating large pdf files practical I get GLib-ERROR **: gmem.c:175: failed to allocate 140737488355328 bytes on saving a simple document. Steps to reproduce: add 4-5 text elements and some freehand-drawings to an empty document and export it as pdf. xournal-0.4.2.1-r1 works with the saved xoj-file from the new version. So it seems only pdf-export is affected. Also a friend of mine was not able to read my text-annotations in a pdf with acrobat 9. acrobat 7 was able to read the annotations - the problem seems to be with embedded fonts not beeing interpreted by acrobat 9 on MacOS. So for me the new pdf-export seems not production-ready ;)
Florian, please open new bug reports for new issues instead of commenting on old, fixed reports. The issue is caused by mixing up varaible (gsize/size_t) and fixed-length (guint32) integer types and thus limited to 64-bit platforms. It is triggered when embedding TrueType fonts in PDF files. I will attach a patch that fixes the issue for me, please test it.
Created attachment 210036 [details, diff] xournal-0.4.5-xoprint-len.patch
(In reply to comment #8) The patch seems to do the trick. Added it to the autopatches and I was able to export a pdf. Sorry for not opening a new ticket - I was not sure about opening a new ticket parallel to the bump.
upstream bug: https://sourceforge.net/tracker/?func=detail&aid=2897699&group_id=163434&atid=827733