Bug 89621

Summary: wrong render result
Product: poppler Reporter: nameX <lijunling>
Component: generalAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: cobra.yu
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: pdf file
acrobat result
poppler result
Use width from W array for WMode positioning

Description nameX 2015-03-18 01:22:43 UTC
The position of the characters are different
Comment 1 nameX 2015-03-18 01:23:36 UTC
Created attachment 114405 [details]
pdf file
Comment 2 nameX 2015-03-18 01:26:29 UTC
Created attachment 114406 [details]
acrobat result
Comment 3 nameX 2015-03-18 01:27:04 UTC
Created attachment 114407 [details]
poppler result
Comment 4 Jason Crain 2015-03-24 07:59:56 UTC
Created attachment 114574 [details] [review]
Use width from W array for WMode positioning

poppler is using the default character width for positioning instead of the width from the /W array.

This patch uses the width from the font's /W array and removes some duplicated code.
Comment 5 nameX 2015-03-25 00:54:52 UTC
Great!Thanks
Comment 6 Albert Astals Cid 2015-03-25 20:04:41 UTC
Pushed
Comment 7 Jason Crain 2015-04-17 20:46:38 UTC
*** Bug 47333 has been marked as a duplicate of this bug. ***

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.