After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704304 - Stroke Selection is not antialiased
Stroke Selection is not antialiased
Status: RESOLVED DUPLICATE of bug 50730
Product: GIMP
Classification: Other
Component: General
2.8.6
Other Windows
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2013-07-16 05:39 UTC by Bibelo
Modified: 2013-07-16 22:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bibelo 2013-07-16 05:39:36 UTC
Hello,

On versions 2.8.4 and 2.8.6, Menu Edit / Stroke Selection is not antialiased when this option is selected in the dialog box.

Precisely, it works only on odd values, i.e line will be aliased when values are 3, 5, etc but not 4, 6, etc.

Previous discussions tried to demonstrate it was a user misunderstanding, but this is clearly a bug.
Comment 1 Michael Schumacher 2013-07-16 08:07:57 UTC
Can you provide a link to those discussions?
Comment 2 Michael Natterer 2013-07-16 11:18:31 UTC
I see what you mean, however this is not antialiasing.

When we stroke a *path* the line goes along a sub-pixel-precision curve
and the partially covered pixels get the antialiasing.

When we stroke a *selection*, the line always goes along pixel boundaries
and an equal amount of pixels left and right of the line get color.
For even stroke widths this equal amount happens to be whole pixels,
for uneven stroke widths this happens to be some whole pixels and one
half pixel.

What you are seeing is not antialiasing, you are seeing half pixels being
filled. This is not antialiasing but just a blurry outline.

Essentially, stroking the selection with an even line width can be used
to get an antialiasing-ish effect, maybe this needs to be documented
somewhere.

*** This bug has been marked as a duplicate of bug 50730 ***
Comment 3 Michael Natterer 2013-07-16 11:18:56 UTC
Err with an *odd* line width :)
Comment 4 Bibelo 2013-07-16 22:37:25 UTC
(In reply to comment #1)
> Can you provide a link to those discussions?

Yes it's bug 50730 where I made the demonstration with a nice picture. :-)