[Okular-devel] Printable area/Shrink to fit/Margin cut off issues, need help choosing an issue for freedom sponsors bounty

Bernard Gray bernard.gray at gmail.com
Wed Oct 30 00:08:24 UTC 2013


Donation done - October is going to be a great month for KDE donations
by the looks :-)
http://www.kde.org/community/donations/previousdonations.php

On 30 October 2013 09:43, Bernard Gray <bernard.gray at gmail.com> wrote:
> On 30 October 2013 07:27, Albert Astals Cid <aacid at kde.org> wrote:
>> El Dimecres, 23 d'octubre de 2013, a les 08:51:50, Bernard Gray va escriure:
>>> Hi Albert,
>>> Thanks for the quick response -
>>>
>>> On 23 October 2013 04:19, Albert Astals Cid <aacid at kde.org> wrote:
>>> > El Dimarts, 22 d'octubre de 2013, a les 16:42:42, Bernard Gray va
>> escriure:
>>> ...
>>>
>>> >> My Issue (in detail):
>>> >> When I print pdf documents from Okular with content that reaches the
>>> >> edge of the paper, the edges are being cut off due to the printer not
>>> >> being able to do edge to edge printing. The page should be shrunk to
>>> >> fit within the printable area reported by the printer.
>>> >> I have created some test documents doing both height and width
>>> >> "oversizing". I've then used Okular, Evince and Adobe Acrobat Reader
>>> >> to open and send them to printers (HP Colour Laserjet 3700 and Xerox
>>> >> DocuCentre IV C3370 - ie low and high end printers, completely
>>> >> different drivers).
>>> >> In all cases, printing from okular cuts off any edges that extend
>>> >> beyond the printer's "printable area".
>>> >> In all cases, printing from evince and acroread shrink the document to
>>> >> fit the printer's "printable area" and provide the results I'm
>>> >> expecting.
>>> >> I've scanned my results as supporting evidence, you can find that here:
>>> >> https://docs.google.com/file/d/0B9alWVS6_yz4RFRpR1RWRTFzMms/edit?usp=shar
>>> >> ing
>>> >>
>>> >> I've also uploaded the sample reference files[5] (created in, and
>>> >> exported to pdf from inkscape)
>>> >>
>>> >> I am running an up-to-date Ubuntu 12.10 with Okular reported as
>>> >> v0.15.5, and libpoppler28 v0.20.4-0ubuntu1.2
>>> >> I have also tested (okular only) on the latest Ubuntu 13.10 release
>>> >> with Okular v0.17.2 and libpoppler43 v0.24.1-0ubuntu1, with the same
>>> >> incorrect results.
>>> >>
>>> >> My Offer:
>>> >> The bounty I'm offering is AUD$300 (USD$289.44 currently). It's not
>>> >> peanuts, hence the need to make sure it winds up attached to the
>>> >> correct bug, hence my post here :)
>>> >
>>> > I've actually wanted to fix this for a while since my new printer also is
>>> > somewhat stupid and can't print correctly in the whole page, but was never
>>> > very worried since i don't print much, now that you tell me 170 people are
>>> > going to use this I had a quick look and the patch seems "reasonably
>>> > easy".
>>> >
>>> > So unless someone around wants to do it *now* I'll try to find time in one
>>> > week time (I'm a bit busy at the moment) and code the fix. Instead giving
>>> > me the money you donate it to KDE itself via
>>> > http://kde.org/community/donations/
>>> >
>>> > How does that sound?
>>>
>>> That sounds excellent! 1 week is a good turnaround - I'll need to
>>> backport it to my current version also, but I don't know how big a job
>>> this will be and will likely be back shortly after with a request for
>>> assistance (just warning) :-)
>>
>> Please have a look at
>> http://quickgit.kde.org/?p=okular.git&a=commit&h=5a1afc51e3bbe78cf9af2870ae41bf2eb79e7a64
>>
>> Cheers,
>>   Albert
>
> Hi Albert,
>
> Backported, tested, confirmed working - in the unlikely case someone
> else is looking for an ubuntu 12.10 quantal backport for this bugfix,
> 32/64 bit packages/debian-ised source/patch etc can be downloaded
> here:
> https://drive.google.com/file/d/0B9alWVS6_yz4dWhDWTlPem80WmM/edit?usp=sharing
>
> I'll arrange the donation later today - thanks again for the excellent
> service :-)
>
> Bernie


More information about the Okular-devel mailing list