Problem with lines width when saving a .pdf

Post questions on how to use or achieve an effect in Inkscape.
giacor86
Posts: 6
Joined: Fri Nov 14, 2014 9:36 pm

Problem with lines width when saving a .pdf

Postby giacor86 » Fri Nov 14, 2014 9:42 pm

Hi to everyone,
This is my first post on the forum. I apologize if the question has already been asked.

I did a simple drawing with inkscape by connecting straigth and curved lines, drown with :tool_pen: and :tool_ellipse: tools respectively, connecting them pretty carefully and precisely. I set their width to be the same, nameliy1.3 pts, and they look good and uniform. But when I export my image in .pdf, the junctions look awful and the curved parts have a different width. What happens? How can I fix this issue?

Thank you,

Giacomo

Lazur
Posts: 4706
Joined: Tue Jun 14, 2016 10:38 am

Re: Problem with lines width when saving a .pdf

Postby Lazur » Fri Nov 14, 2014 10:58 pm

Hi.

Make sure that transformations are saved optimised.
Setting is available in the preferences (Ctrl+Shift+P).

giacor86
Posts: 6
Joined: Fri Nov 14, 2014 9:36 pm

Re: Problem with lines width when saving a .pdf

Postby giacor86 » Fri Nov 14, 2014 11:20 pm

This preference was actually already set on optimized but the problem is there anyway :( Oher ideas?

Lazur
Posts: 4706
Joined: Tue Jun 14, 2016 10:38 am

Re: Problem with lines width when saving a .pdf

Postby Lazur » Fri Nov 14, 2014 11:21 pm

Not sure, can you provide an example file with the error?

giacor86
Posts: 6
Joined: Fri Nov 14, 2014 9:36 pm

Re: Problem with lines width when saving a .pdf

Postby giacor86 » Sat Nov 15, 2014 1:41 am

How can I insert a picture in the post?

tylerdurden
Posts: 2327
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Problem with lines width when saving a .pdf

Postby tylerdurden » Sat Nov 15, 2014 2:19 am

giacor86 wrote:How can I insert a picture in the post?

AttachmentTab.jpg
AttachmentTab.jpg (75.86 KiB) Viewed 3452 times
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

giacor86
Posts: 6
Joined: Fri Nov 14, 2014 9:36 pm

Re: Problem with lines width when saving a .pdf

Postby giacor86 » Sat Nov 15, 2014 2:36 am

Cool, sorry! I didn't see it :)

So, this is a picture of the junction as displayed in inkscape:
SVG.png
SVG.png (9.71 KiB) Viewed 3449 times


And this is how it is visualized by adobe acrobat:
PDF.png
PDF.png (11.89 KiB) Viewed 3449 times



The scale is little bit different but actually it doesn't metter, even at smaller scales the defect is visible. It is not a huge problem, but it is rather disappointing..

tylerdurden
Posts: 2327
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Problem with lines width when saving a .pdf

Postby tylerdurden » Sat Nov 15, 2014 2:39 am

Could you perhaps upload the problem svg file, or a close svg example (if the example file is private)?
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Lazur
Posts: 4706
Joined: Tue Jun 14, 2016 10:38 am

Re: Problem with lines width when saving a .pdf

Postby Lazur » Sat Nov 15, 2014 3:41 am

So it's the green line's width, and not the size of the marker.
Could be a rendering issue of acrobat, foxit may show it differently.
Or...
There seems to be a gap in between. Did you try merging the two end nodes together?
Assuming it's a stroked path with no fill.
If not just a simple stroke -is that a path made with the pencil tool, with a triangle shape, and a thick stroke on it?
Then removing the pattern along path live path effect would solve it.

giacor86
Posts: 6
Joined: Fri Nov 14, 2014 9:36 pm

Re: Problem with lines width when saving a .pdf

Postby giacor86 » Sat Nov 15, 2014 9:00 am

Yes, the problem is at the green line. I did a straight line with this :tool_pen: , and then I did an arch with :tool_ellipse: . Then I put them one close to the other. Is this a wrong procedure? How can I merge the nodes, being them two separate objects?

Thank you

Lazur
Posts: 4706
Joined: Tue Jun 14, 2016 10:38 am

Re: Problem with lines width when saving a .pdf

Postby Lazur » Sat Nov 15, 2014 9:36 am

First convert the ellipse/arc to path (Ctrl+Shift+C), then use the node tool to select both objects,
and select the two end nodes and click on the merge nodes icon at the toolbar.

giacor86
Posts: 6
Joined: Fri Nov 14, 2014 9:36 pm

Re: Problem with lines width when saving a .pdf

Postby giacor86 » Mon Nov 24, 2014 3:38 am

Sorry for the late reply.. I took some time to do what you suggested to me because I was very busy with other stuff.. but it worked!
Thanks a lot

Giacomo

dcocharro
Posts: 1
Joined: Thu Sep 12, 2019 1:39 am

Re: Problem with lines width when saving a .pdf

Postby dcocharro » Thu Sep 12, 2019 1:48 am

Hi!
This is my first post.
I have a similar problem, I hope I'm posting in the correct place.
I have a drawing with stroke width 5 in the project, but when i export to png it shows as if it had stroke width 1.
Help? :?

I had a attachment for test purpose.
drawing.svg
(36.12 KiB) Downloaded 4 times


teste.png
teste.png (43.92 KiB) Viewed 95 times


Thanks in advance.

Moini
Posts: 3306
Joined: Mon Oct 05, 2015 10:44 am

Re: Problem with lines width when saving a .pdf

Postby Moini » Thu Sep 12, 2019 4:13 am

Open the SVG file with a text editor, and search and replace all occurrances of "vector-effect:non-scaling-stroke;" with "" (nothing). Save and reopen with Inkscape
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 4 guests