gotcha

Author Topic: pdf all scrambled  (Read 2642 times)

September 05, 2016, 11:16:11 AM
Read 2642 times

siltriarts

  • Sr. Newbie

  • Offline
  • **

  • 2
i need some quick help, for my job i have to convert svg into pdf, i never had any trouble whatsoever, but a week ago everything went wrong :s
Now when i save an svg as pdf (txt converted to paths!) and i open that pdf, it shows text as fat or as if it's glued together, also some minor items seems to be missing.
I have no idea how to solve this, i reinstalled inkscape, i reinstalled my pdf reader, i scanned my pc for virusses and stuff.
And the weirdest things is that this happens on 2 different  computers! So i scanned my usb (cause i save everything on an usb only) but nothing werid comes up with that either, so i'm totally lost!! And this is for my job so this needs to be solved rather urgently! Even my boss can't help me cause he doesn't know much of this stuff either :s

September 05, 2016, 01:31:48 PM
Reply #1

Lazur

  • IC Mentor

  • Offline
  • ******
  • Inkscape Filters Wizard

  • 1,154
  • Gender
    Male

    Male
Hi.

That doesn't sound so good, haven't heard of those exact symptoms, so just guessing for trouble shooting.

Inkscape comes with different compilations of the pdf converter, that can also vary with the os system
-try if regressing to 0.48 would work, or find a pre 0.92.
As far as I could see it some lpe-s in 0.91 produce weird artifacts. Namely the sketch lpe generates nodes too far from the original path.
Maybe some of the problem is related to lpe-s. Powerstroke is a "new" feature, the old spiro path can also produce strange results.
Dynamic offsetting can clutter up some parts of the drawing as well.

Try saving as different pdf versions too.


Speaking of "glitches", make sure your inkscape is set to the default or higher accuracy at the svg output settings.
If the measures of your design are extreme, there are more artifacts appearing.
Extremely thin outlines -0,02 px etc.- may be rendered wrongly outside inkscape, and gradients that are transformed too small may produce black bending in 0.91's cairo renderer.
On the other side 0.48's pattern fills were bad.

Also, as the gradient issue is connected with "extreme" transformations, maybe try to remove any unnecessary transformations.
They are present if you resized page to content. To solve that you would need to copy/paste everything to a newly created layer, maybe even nudge nodes.

Dealing with pdf-s, transparency is a major issue.
Try with different variations of object opacity or fill with 0 alpha value -one of them doesn't show up when saved as pdf.
Masking doesn't transfer, use clipping instead where necessary.


Maybe the font is not constructed well -that case I'd try converting text to path manually before saving as pdf, to see if it goes well.


Filtering can produce different results at different zoom levels. If you made a custom one with the convolution filter primitive, that may produce an unexpected look.


All in all, make the file as "dumb" as possible, and then by "divide and conquer" sort out which part of the file is not working.
If stuck on one part, share the file, maybe we can find the problem.

Other option is diging up the bug tracker for related material.

September 05, 2016, 02:01:13 PM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to Inkscape Community!

If you still can't sort out the problems, you could share the SVG file with us, and we could try to figure out what's wrong.  No guarantees, but we can try  :)
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

September 06, 2016, 09:09:27 AM
Reply #3

siltriarts

  • Sr. Newbie

  • Offline
  • **

  • 2
apparently the mistake in 1 document was a tiny outline of less than 0.01mm o_o so i deleted them, you won't see them anyway if the document will be printed, it's just weird that 2 similar (and bigger) documents accepted that tiny outline and the 3th didn't, but hey i will check other scrambled pdf's on tiny outlines first :) so for now the problem is fixed...and i hope it stays that way.