text missplaced position to the path in LaTeX export (eps)

Bug #1813797 reported by Johannes Kalliauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

I open following SVG-file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg width=".86in" height=".88in" viewBox="1774 6204 1031.8 1031.7" xmlns="http://www.w3.org/2000/svg">
 <path d="m1816.8 6520.4h945v282h-945z" fill="none" stroke="#000" stroke-width="3.75"/>
 <text x="2288.92" y="7243.85" font-family="Times" font-size="100" text-anchor="middle">3cm</text>
 <text x="2295.35" y="6268.42" font-family="Times" font-size="100" text-anchor="middle">$\alpha$</text>
</svg>
and export it as eps with "omit text in PDF and create LaTeX file" and "Use documents page size"

But then the eps only conataints size of the path-ojects-size not of the page-size.

This leads to a misplacement of the text see MWE.tex:
% !TeX encoding = UTF-8
% !TeX root = MWE.tex
% !TeX TS-program = pdflatex
\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage{epsfig}
\begin{document}
 \def\svgwidth{2cm}
 \input{xfig2.eps_tex}
\end{document}

Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote :
Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
<svg width=".86in" height=".88in" viewBox="1774 6204 1031.8 1031.7" xmlns="http://www.w3.org/2000/svg">
 <path d="m1816.8 6520.4h945v282h-945z" fill="none" stroke="#000" stroke-width="3.75"/>
 <text x="2288.92" y="7243.85" font-family="Times" font-size="100" text-anchor="middle">3cm</text>
 <text x="2295.35" y="6268.42" font-family="Times" font-size="100" text-anchor="middle">$\alpha$</text>
</svg>

Revision history for this message
Johannes Kalliauer (jokalliauer1989) wrote :

confirmed on Windows 10, Inkscape 0.92.4 (5da689c313, 2019-01-14)

summary: - text missplaced position to the path in LaTeX export (eps or pdf)
+ text missplaced position to the path in LaTeX export (eps)
Revision history for this message
Firoz Taverbi (firoztaverbi) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new
bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at
http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/issues/431
Closed by: https://gitlab.com/firoztaverbi

Changed in inkscape:
status: New → Invalid
tbnorth (terry-n-brown)
tags: added: bug-migration
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.