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

Albert Astals Cid aacid at kde.org
Tue Oct 22 17:19:13 UTC 2013


El Dimarts, 22 d'octubre de 2013, a les 16:42:42, Bernard Gray va escriure:
> Hi All,

Hi

> First up, thanks for the great product you guys have developed.
> I work for De Bortoli Wines, an Australian winemaking company and we
> are in the process of rolling out KDE (4.9.5 on Ubuntu 12.10) to
> replace Gnome 2 on approximately 170 desktops.

Nice, thanks for choosing KDE and Okular :-)

> I'm encountering an issue with Okular which I need fixed,
> unfortunately it exists in the bugtracker under several different
> guises:
> 
> * Bug 319476 [1] - feature request: fit to printable area
> * Bug 276042 [2] - Okular not zoom to max page dimension when printing
> * Bug 196590 [3] - [PDF 4.3beta2 regression] bad margins, printing
> cuts off parts of the document

Bug 196590 is just a random collection of "things don't work", it's one of 
those unfixable bugs because there's lots of people reporting random stuff on 
the same thing.

Bug 319476 and bug 276042 seem the same to me and i've duplicated one to the 
other.

> As a company, we've had a previous success[4] with the
> freedomsponsors.org bounty model, and I'm hoping to try it out again
> but due to the number of similar issues currently open in the
> bugtracker, I'm having difficulty determining which (if any) most
> accurately represents the issue I'm experiencing and which is most
> likely to yield a successful result. I'm hoping you guys, as the team
> that is likely to do the work, will be able to help me out -
> 
> 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=sharing
> 
> 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?

Cheers,
  Albert

> 
> Thanks for your time -
> 
> Bernard Gray
> 
> -----------------
> [1] https://bugs.kde.org/show_bug.cgi?id=319476
> [2] https://bugs.kde.org/show_bug.cgi?id=276042
> [3] https://bugs.kde.org/show_bug.cgi?id=196590
> [4]
> http://freedomsponsors.org/core/issue/316/allow-filesave-with-password-for-> xlsx-and-other-not-libreoffice-xml-based-formats [5]
> https://docs.google.com/file/d/0B9alWVS6_yz4cHYxdkdIcUREWWM/edit?usp=sharin
> g
> https://docs.google.com/file/d/0B9alWVS6_yz4Z1dQemx1ZXIxRFk/edit?usp=sharin
> g _______________________________________________
> Okular-devel mailing list
> Okular-devel at kde.org
> https://mail.kde.org/mailman/listinfo/okular-devel



More information about the Okular-devel mailing list