Letters in and near selection move by +-1 pixel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
abiword (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
Binary package hint: abiword
If you select text on abiword with the left mouse button held down,
and you sweep the mouse to the right, you can see the letters near
the mouse pointer shimmer. They move by + or - 1 pixel as the mouse
pointer approaches them, and also as the mouse pointer passes them.
Somewhere, in the code that displays a selection, there is a fencepost
error. (Or, perhaps it's a fencepost error in the code that displays the
non-selected text?)
I have attached an image made from four screen captures as I selected
part of a word. The top is the reference, with no selection.
The next three select larger areas. All four images are aligned on the
left edge of the document.
I added two pink vertical bars for reference, and you can see that the
"r" is one pixel further leftwards in the bottom two images. You can also
see that the "v" is one pixel rightwards in the second image.
Not every letter moves equally, it seems. Perhaps it's a rounding error
for characters that are a non-integral number of pixels wide?
The font used was Times New Roman, 12 point.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: abiword 2.8.6-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-23-generic x86_64
Architecture: amd64
Date: Sun Nov 7 19:58:36 2010
ExecutablePath: /usr/bin/abiword
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_GB.utf8
SourcePackage: abiword
XsessionErrors:
(gnome-
(gnome-
(polkit-
(nautilus:3108): GConf-CRITICAL **: gconf_value_free: assertion `value != NULL' failed
Whoops, here's the image.