[Poppler-bugs] [Bug 6923] characters change when selecting text

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 16 16:25:46 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=6923

--- Comment #30 from Albert Astals Cid <tsdgeos at terra.es> 2012-08-16 23:25:46 UTC ---
There's also a weird thing.

If i get all the character positions and dump them to file, sometimes there's
minor changes, e.g. in
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/881407/+attachment/2571595/+files/Manning-ExtJS_in_Action.pdf

the diff says

--- old/foo     2012-08-17 01:16:21.566960179 +0200
+++ new/foo     2012-08-17 01:16:21.566960179 +0200
@@ -51275,13 +51275,16 @@
 QRectF(289.28,579.535 2.4948x4.725) 
 true 
 QRectF(289.28,579.535 2.4948x4.725) 
-"FumiK" 
-QRectF(294.666,579.535 10.0606x4.725) 
-true 
+"Fumi" 
+QRectF(294.666,579.535 7.64003x4.725) 
+false 
 QRectF(294.666,579.535 2.08791x4.725) 
 QRectF(296.754,579.535 1.73864x4.725) 
 QRectF(298.492,579.535 2.8904x4.725) 
-QRectF(301.383,579.535 0.349866x4.725) 
+QRectF(301.383,579.535 0.923076x4.725) 
+"K" 
+QRectF(301.733,579.535 2.99376x4.725) 
+true 
 QRectF(301.733,579.535 2.99376x4.725) 
 "®" 
 QRectF(308.586,580.274 3.06445x3.885) 

the more interesting part is 

-QRectF(301.383,579.535 0.349866x4.725) 
+QRectF(301.383,579.535 0.923076x4.725) 

it seems the "i" moved from being 0.349866 wide to being 0.923076. Any idea why
those changes happen? Looking at the code i don't see any obvious reason for
them.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list