Bug 66937

Summary: page_renderer::render_page() sometimes calculates a crop wrong
Product: poppler Reporter: Pavel Ignatov <pignatoff>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: page_renderer::render_page() calculates a crop wrong on this document

Description Pavel Ignatov 2013-07-15 17:15:35 UTC
Created attachment 82457 [details]
page_renderer::render_page() calculates a crop wrong on this document

At our company we use poppler for rendering pdf documents inside our viewer. The viewer lets the user a possibility to zoom a chosen rectangular area of a document page. This mechanism is implemented by the call to page_renderer::render_page() with resolution and other parameters calculated appropriately. Usually it works correctly. But sometimes a crop is calculated wrong. For example for the attached document, where the zoomed area is displayed shifter either horizontally or vertically.
Comment 1 Albert Astals Cid 2013-07-16 09:58:13 UTC
Can you please define your problem more precisely? What do you mean with "the crop is calculated wrong"?
Comment 2 Pavel Ignatov 2013-07-17 17:38:10 UTC
I am terribly sorry! Now it is obvious -- it is not a poppler bug! I work at back-end team of a product and it turned out that fron-end guys provided me with wrong crop data. Excuse me please for reporting this bug basing on unverified information.

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.