Hello,
I am passing you this email exchange.
You may consider to update xournal at the end.
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
Sent: Sunday, February 07, 2016 at 7:52 PM
From: "Denis Auroux" <auroux(a)math.berkeley.edu>
To: "Patrick Dupre" <pdupre(a)gmx.com>
Subject: Re: Fwd: Re: Xounal PDF Quality
Hi Patrick,
Glad to hear that "legacy PDF export" solves the issue for you. The
official Fedora package is likely to be based on official 0.4.8 (hence,
a year old and not correcting all the bugs), though I don't know what
exactly they might or might not have fixed in the -4 package iteration.
So you'd need to uninstall it and compile manually instead from
GIT/CVS if you really wanted to -- but it sounds like you don't need to...
Best,
Denis
On 02/07/2016 10:49 AM, Patrick Dupre wrote:
>>
>> Hi Andreas + Patrick,
>>
>> Very strange and surprising. Two comments:
>>
>> 1. are you using the plain official 0.4.8 release, or a more recent
>> version compiled from the GIT or CVS repositories on sourceforge ?
> xournal-0.4.8-3.fc22.x86_64
> The
>> GIT/CVS version corrects a bug in PDF export that most visibly resulted
>> in loss of quality of scanned images inside PDFs, but might also affect
>> other aspects of PDFs as well. So: if you are using the 'normal' 0.4.8
>> release, please try upgrading to the latest cvs/git version and see if
>> it fixes the issue.
> This is the version of the distribution
> I do not think that the last update:
> xournal-0.4.8-4.fc23.x86_64.rpm would be different.
>
>> 2. in 0.4.8 there are two methods of exporting PDFs, the new one is used
>> by default and should be better (apart from the serious loss of image
>> resolution bug that was fixed in GIT/CVS and perhaps also the issue you
>> just reported?), but you can also try the older one by selecting Options
>> -> Legacy PDF export.
>> When selected, the exported PDF should be much more faithful to the
>> original whenever possible (but export will fail with certain PDF
>> files), so I imagine the problem you report will certainly go away.
> Yes you are right
>
>>
>> The default ("new") PDF export option loads the existing PDF using
>> poppler/cairo -- same libraries used by evince and other PDF viewers --
>> and prints it to a new PDF with the annotations on top. (The bug
>> corrected in cvs/git was that we forgot to specify optimal print quality
>> settings when doing this printing, which caused some quality loss in
>> some cases). The old ('legacy') PDF export hacks into the existing PDF
>> code and adds the annotations to the existing pages, without any
>> modification or "re-distilling" of the existing PDF, so it is more
>> faithful when it works, but it fails for various kinds of
>> encrypted/compressed PDF files.)
>>
>> Denis
>>
>>
>>
>>
>> On 02/07/2016 08:16 AM, Andreas Butti wrote:
>>> Hi Denis
>>>
>>> Patrick Dupre wrote me a mail, there is a Bug in the PDF export in
>>> Xournal. It seems there is a problem with the stroken width.
>>>
>>> Do you know this problem?
>>> Do you may have a look at it?
>>>
>>> Thank you.
>>>
>>>
>>> Andreas
>>>
>>> -------- Weitergeleitete Nachricht --------
>>> Betreff: Re: Xounal PDF Quality
>>> Datum: Sat, 6 Feb 2016 21:32:04 +0100
>>> Von: Patrick Dupre <pdupre(a)gmx.com>
>>> An: andreasb123(a)users.sf.net
>>>
>>>
>>>
>>> Hello,
>>> I am attaching 2 files demonstrating the issue.
>>>
>>> ===========================================================================
>>> Patrick DUPRÉ | | email: pdupre(a)gmx.com
>>> Laboratoire de Physico-Chimie de l'Atmosphère | |
>>> Université du Littoral-Côte d'Opale | |
>>> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
>>> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
>>> ===========================================================================
>>> *Sent:* Saturday, February 06, 2016 at 8:34 PM
>>> *From:* andreasb123(a)users.sf.net
>>> *To:* patdupre(a)users.sf.net
>>> *Subject:* Xounal PDF Quality
>>>
>>> Hi
>>>
>>> First: I couldn’t answer to your mail, because SF was down...
>>>
>>> Xournal shouldn't change the Image quality...
>>>
>>> I cannot help you now, you may write to the mailing list:
>>>
https://sourceforge.net/p/xournal/mailman/xournal-devel/
>>>
>>> You may also would like to try out Xournal++, it's a rewrite of
Xournal,
>>> it can open your .xoj files.
>>>
https://github.com/xournalpp/xournalpp
>>>
>>> But I cannot guaranty that this will work better for your case.
>>>
>>> Only one idea: If you print your existing PDf to a PDF printer, it may
>>> fix the problem. (If the PDF was faulty, you never know...)
>>>
>>> ------------------------------------------------------------------------
>>>
>>> This message was sent to you via the SourceForge web mail form.
>>> You may reply to this message directly, or at
>>>
<
http://sourceforge.net/u/andreasb123/profile/send_message>http://sourc...
>>>
>>>
>>>
>>
>> --
>> Denis Auroux
>> University of California, Berkeley auroux(a)math.berkeley.edu
>> Department of Mathematics Tel: 510-642-4367
>> 817 Evans Hall # 3840 Fax: 510-642-8204
>> Berkeley, CA 94720-3840
>>
--
Denis Auroux
UC Berkeley, Department of Mathematics
817 Evans Hall, Berkeley CA 94720-3840, USA
auroux(a)math.berkeley.edu