Bug 66937 - page_renderer::render_page() sometimes calculates a crop wrong
Summary: page_renderer::render_page() sometimes calculates a crop wrong
Status: RESOLVED NOTABUG
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-15 17:15 UTC by Pavel Ignatov
Modified: 2013-07-17 17:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
page_renderer::render_page() calculates a crop wrong on this document (292.96 KB, text/plain)
2013-07-15 17:15 UTC, Pavel Ignatov
Details

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.