GNOME Bugzilla – Bug 749389
Cursors are not aligned
Last modified: 2015-05-15 05:15:23 UTC
Slices don't line up. Similarly-looking cursors have different offsets (when cursors change at runtime, they might bob). Straight edges are blurry in 32x32 and 64x64.
Created attachment 303390 [details] [review] Major cursor realignment * Align slices to the integer grid * Ensure that similar cursors are aligned to their slices identically * Fix some stroke widths to be integral * Try to align as many edges as possible to the 0+N*3 coordinate lines * Reduce size of some cursors that were too big
Note that: 1) This patch is somewhat dirty. Lots of things change, observing the diff won't help, you need to load up patched and unpatched versions into Inkscape and do visual comparison 2) I've changed shape of some cursors. That may or may not be acceptable. 3) I've made a few cursors smaller (pencil, zoom in/out). 4) Results are somewhat mixed. My goal was to make it look better at 32x32. It doesn't. Maybe it's because of the shadows - they add blurness to sharp edges. Still, left_ptr and left_ptr_watch line up, so that's something at least.
I'm afraid there's two majors problems I have with the realignment. The open hand now has completely skewed proportions. But the biggest problem is with the watch cursors, at the native resolution they are completely blurry, snapping to exactly half of the pixel grid.
On a second evaluation the watch cursor really didn't fit at all even when pixel snapped, due to it's wider outer stroke. Attaching the patch with some stylistic modification, hopefully not completely ruining the alignment.
I you mean the "watch" cursor, i didn't touch it at all. I did move "left_ptr_watch" up a bit, and moved its shadow to the right.
Comment on attachment 303390 [details] [review] Major cursor realignment Attachment 303390 [details] pushed as 9eae7cb - Major cursor realignment
The tweaked patch with the rendered cursors were too big for bugzilla. Just landed it in master.