Skip to content

eps+LaTeX export missplaced text

Steps to reproduce:

DNA_chemical_structure.svg

2020-02-14_16-57-25

What happened?

Dvi_LaTeX.pdf

Dvi_LaTeX.svg

What should have happened?

same as with pdf+LaTeX

PDF_LaTeX.pdf

PDF_LaTeX.svg

Problem description (4Bugs)

actually wanted to report only the first bug, the others should be ignored here, but they are reported here to know that they are side-effects of the demonstation-file.

Wrong placement (eps only)

I assume a bounding-box issue,

  • because it does not occure for pdf+LaTeX
  • and since if you make a tight pagesize identical to the objectsize (excluding text) then the issue does not occur. I assume it is the same issue as #431 (moved) but different to inkscape#743 because my issue only occurs for eps-export (not for pdf-export).
Wrong aligning (eps and pdf)

The file is maybe affected from #431 (moved) which affects eps aswell pdf-export. (you can see the one-line-texts in the pdf+LaTeX is correctly placed, but wrongly aligned.)

Wrong linespacing (eps and pdf)

The multi-line-text " Phosphate- deoxyribose backbone " seems to be wrongly aligned, but since it is one text with linebreaks it is imho correct convertion.

PDF2SVG (different issue, just to know why the svgs here look strange)

If you compare Dvi_LaTeX.pdf with Dvi_LaTeX.svg and PDF_LaTeX.pdf with PDF_LaTeX.svg you can see Inkscape converted them wrongly.

Inkscape Version and Operating System:

  • Inkscape Version: 1.0beta2 (2b71d25, 2019-12-03)
  • Operating System: Ubuntu 18.04

Copyright

Source: https://commons.wikimedia.org/wiki/File:DNA_chemical_structure.svg

Author: Madprime

License: CC0

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information