[Okular-devel] [okular] [Bug 342735] New: when viewing .dvi with included .eps files, these .eps figures are shown in wrong places
Andrey Grozin
A.G.Grozin at inp.nsk.su
Sun Jan 11 16:11:47 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=342735
Bug ID: 342735
Summary: when viewing .dvi with included .eps files, these .eps
figures are shown in wrong places
Product: okular
Version: unspecified
Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: DVI backend
Assignee: okular-devel at kde.org
Reporter: A.G.Grozin at inp.nsk.su
latex bug.tex
okular bug.dvi
The first a.eps is shown at the correct place;
the second one is shifted to the left;
the thirs one is shifted to the left more;
the fourth one is shifted to the left still more.
xdvi bug.dvi
All .eps figures are positioned correctly
dvips bug.dvi
dvipdfm bug.dvi
convert bug.dvi to bug.ps, bug.pdf which are shown (by okular and by other
viewers) correctly. Only bug.dvi is affected.
I am sure that earlier versions of okular displayed such .dvi files correctly.
Unfortunately, I don't know starting from which version the problem appeared.
Reproducible: Always
bug.tex
================
\documentclass{article}
\usepackage{graphics}
\setlength{\unitlength}{1mm}
\begin{document}
\begin{equation}
\raisebox{-10mm}{\begin{picture}(22,22)
\put(11,11){\makebox(0,0){\includegraphics{a.eps}}}
\put(11,11){\makebox(0,0){$\times$}}
\end{picture}}
+
\raisebox{-10mm}{\begin{picture}(22,22)
\put(11,11){\makebox(0,0){\includegraphics{a.eps}}}
\put(11,11){\makebox(0,0){$\times$}}
\end{picture}}
+
\raisebox{-10mm}{\begin{picture}(22,22)
\put(11,11){\makebox(0,0){\includegraphics{a.eps}}}
\put(11,11){\makebox(0,0){$\times$}}
\end{picture}}
+
\raisebox{-10mm}{\begin{picture}(22,22)
\put(11,11){\makebox(0,0){\includegraphics{a.eps}}}
\put(11,11){\makebox(0,0){$\times$}}
\end{picture}}
\end{equation}
\end{document}
================
a.eps
================
%!PS-Adobe-2.0 EPSF-2.0
%%Creator: GLE 4.2.4c <www.gle-graphics.org>
%%CreationDate: Sun Jan 11 00:59:03 2015
%%Title: a.gle
%%BoundingBox: 0 0 65 65
%%HiResBoundingBox: 0 0 64.3622 64.3622
%%EndComments
%%EndProlog
gsave
/f {findfont exch scalefont setfont} bind def
/s {show} bind def
/ps {true charpath} bind def
/l {lineto} bind def
/m {newpath moveto} bind def
matrix currentmatrix /originmat exch def
/umatrix {originmat matrix concatmatrix setmatrix} def
[28.3465 0 0 28.3465 0 0] umatrix
[28.3465 0 0 28.3465 1 1] umatrix
[] 0 setdash
0.02 setlinewidth
0 setgray
0 0 m
0.03 setlinewidth
1 setlinecap
1 setlinejoin
0 0 m
0 0 m
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 0 m
-1 1 m
[28.3465 0 0 28.3465 3.83465 60.5276] umatrix
0 0 m
0 0 m
2 0 l
stroke
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
1 1 m
-1 0.5 m
[28.3465 0 0 28.3465 3.83465 46.3543] umatrix
0 0 m
0 0 m
2 0 l
stroke
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
1 0.5 m
-1 0 m
[28.3465 0 0 28.3465 3.83465 32.1811] umatrix
0 0 m
0 0 m
2 0 l
stroke
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
1 0 m
-1 -0.5 m
[28.3465 0 0 28.3465 3.83465 18.0079] umatrix
0 0 m
0 0 m
2 0 l
stroke
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
1 -0.5 m
-1 -1 m
[28.3465 0 0 28.3465 3.83465 3.83465] umatrix
0 0 m
0 0 m
2 0 l
stroke
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
1 -1 m
1 1 m
[28.3465 0 0 28.3465 60.5276 60.5276] umatrix
0 0 m
[28.3465 0 0 28.3465 7.10543e-15 7.10543e-15] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 7.10543e-15 -7.10543e-15] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 60.5276 60.5276] umatrix
0 0 m
2 0 l
stroke
[28.3465 0 0 28.3465 60.5276 60.5276] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
1 -1 m
0.5 1 m
[28.3465 0 0 28.3465 46.3543 60.5276] umatrix
0 0 m
[28.3465 0 0 28.3465 7.10543e-15 7.10543e-15] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 7.10543e-15 -7.10543e-15] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 46.3543 60.5276] umatrix
0 0 m
2 0 l
stroke
[28.3465 0 0 28.3465 46.3543 60.5276] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
0.5 -1 m
0 1 m
[28.3465 0 0 28.3465 32.1811 60.5276] umatrix
0 0 m
[28.3465 0 0 28.3465 0 7.10543e-15] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 7.10543e-15 -1.30525e-30] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 32.1811 60.5276] umatrix
0 0 m
2 0 l
stroke
[28.3465 0 0 28.3465 32.1811 60.5276] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
0 -1 m
-0.5 1 m
[28.3465 0 0 28.3465 18.0079 60.5276] umatrix
0 0 m
[28.3465 0 0 28.3465 0 7.10543e-15] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 7.10543e-15 -1.30525e-30] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 18.0079 60.5276] umatrix
0 0 m
2 0 l
stroke
[28.3465 0 0 28.3465 18.0079 60.5276] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
-0.5 -1 m
-1 1 m
[28.3465 0 0 28.3465 3.83465 60.5276] umatrix
0 0 m
[28.3465 0 0 28.3465 0 7.10543e-15] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 7.10543e-15 -1.30525e-30] umatrix
[-5.20716e-15 -28.3465 28.3465 -5.20716e-15 3.83465 60.5276] umatrix
0 0 m
2 0 l
stroke
[28.3465 0 0 28.3465 3.83465 60.5276] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
[28.3465 0 0 28.3465 32.1811 32.1811] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
-1 -1 m
[28.3465 0 0 28.3465 1 1] umatrix
0 setgray
0.03 setlinewidth
[] 0 setdash
showpage
grestore
%%Trailer
================
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list