clarity of lines not very sharp

Bug #786791 reported by Allen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When drawing a straight line with free hand line tool the clarity of the line is very weak. It should not be blurry it should be much sharper. A good example of a sharp line with small stroke width would be the box that surrounds the text I am typing in this "further information" box. It is very small yet the clarity of the red line stroke is very sharp and clean. In inkscape it is slightly blurry and this is a big disadvantage when creating a website as it is near impossible to create smaller details that require sharp line strokes.

If I were to try to draw a straight line with free hand line tool with a .5 stroke and a color of black it would look grey-ish even at 100% zoom. In other drawing programs the lines would remain black and appear very sharp in nature similar too the "further Information" box that surrounds this text I typed.

I have the latests stable version of inkscape 0.48.1, The line was tested on both Linux Ubuntu and windows XP.

You will quickly see from attachement that at 100% zoom the top line is sharp and has a stroke of .5 at 100% black. Then below it is the exact same line stroke with .5 stroke and 100% black at 100% zoom and it shows up blurry. In other words sometimes the lines show up sharp but most of the time it doesn't.

Revision history for this message
Allen (w-contact-xaratemplate-com) wrote :
Revision history for this message
Pablo Trabajos (pajarico) wrote :

The easiest solution is to just change Y coordinate to an integer (for instance, your blurry line is at 855.750, changing it to 855.0 solves this). The extension pixelsnap serves this purpose (Extensions->Modify path->Pixelsnap).

The underlying "problem" is that it is impossible for any software to fit a 0.5 line in a pixel grid. At some point the software has to cheat, either anti-aliasing the path or just turning them (for screen output only) into 1px lines.

It seems to me that at 100% zoom Inkscape turns the 0.5 px line into a 1px line, at least for the non blurry line.

The fact that some lines are blurry while others are not is beyond me. Definitely it depends on the Y coordinate, but I guess that internally Inkscape processes them differently depending on their position.

tags: added: renderer
removed: blurry line stroke
Revision history for this message
Pablo Trabajos (pajarico) wrote :

This one is related to bug #561857. Maybe a duplicate?

Bottom line: is a known issue but it doesn't seem to have a simple solution, that's why Pixelsnap was created.

tags: added: snapping
Revision history for this message
Allen (w-contact-xaratemplate-com) wrote : Re: [Bug 786791] Re: clarity of lines not very sharp

Ok. Thanks for the feedback. I appreciate the fast response.

Allen
Quoting Pablo Trabajos <email address hidden>:

> This one is related to bug #561857. Maybe a duplicate?
>
> Bottom line: is a known issue but it doesn't seem to have a simple
> solution, that's why Pixelsnap was created.
>
> ** Tags added: snapping
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/786791
>
> Title:
> clarity of lines not very sharp
>
> Status in Inkscape: A Vector Drawing Tool:
> New
>
> Bug description:
> When drawing a straight line with free hand line tool the clarity of
> the line is very weak. It should not be blurry it should be much
> sharper. A good example of a sharp line with small stroke width would
> be the box that surrounds the text I am typing in this "further
> information" box. It is very small yet the clarity of the red line
> stroke is very sharp and clean. In inkscape it is slightly blurry and
> this is a big disadvantage when creating a website as it is near
> impossible to create smaller details that require sharp line strokes.
>
> If I were to try to draw a straight line with free hand line tool with
> a .5 stroke and a color of black it would look grey-ish even at 100%
> zoom. In other drawing programs the lines would remain black and
> appear very sharp in nature similar too the "further Information" box
> that surrounds this text I typed.
>
> I have the latests stable version of inkscape 0.48.1, The line was
> tested on both Linux Ubuntu and windows XP.
>
> You will quickly see from attachement that at 100% zoom the top line
> is sharp and has a stroke of .5 at 100% black. Then below it is the
> exact same line stroke with .5 stroke and 100% black at 100% zoom and
> it shows up blurry. In other words sometimes the lines show up sharp
> but most of the time it doesn't.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/inkscape/+bug/786791/+subscribe
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.