Bug 20400

Summary: ps figures buggy under xdvi
Product: [Retired] Red Hat Linux Reporter: oreilly
Component: tetexAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: crutcher
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-19 14:44:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description oreilly 2000-11-05 23:34:46 UTC
under ghostscript 5.50-1 and tetex-xdvi 1.0.6-11, xdvi does not display
embedded postscript figures in latex documents correctly.  specifically,
bits of text in figures will not display sometimes, and then will show up
randomly on other pages.

figures are included using the following latex code:

\usepackage [dvips]{graphicx}
...
\centering\includegraphics[width=3in]{fig.figure.eps}

this problem does not show up with earlier versions of ghostscript (e.g,
5.10)

also, i can't seem to get the buttons to appear on the right hand side of
the window, despite toggling using the x button.

Comment 1 oreilly 2000-11-06 05:02:08 UTC
This bug should probably also be listed under tetex (package tetex-xdvi) -- it
is really in the interaction between xdvi and gs.

Comment 2 Jeff Johnson 2000-12-28 02:13:18 UTC
Can you supply a complete example that exhibits the problem?

Comment 3 oreilly 2001-01-12 00:10:19 UTC
Here is a complete example that exhibits the problem.   The first file is the
.tex file, and the second is the .ps file for the included figure.

Begin gsbug.tex:
-----------------
\documentclass {article}
\usepackage[dvips]{graphicx}
\begin{document}

This is a minimal test document for reproducing a bug in the
interaction between gs (ghostscript) and xdvi in displaying postscript
figures with text labels.  This bug only appears with gs 5.50, not in
5.10.  The bug is that text in the figure will not be displayed
sometimes, and will appear incorrectly on other pages at other times.
To see the bug, latex this file, then xdvi the .dvi file (I used
version 22.05d-k that comes with redhat 6.2), and then flip back and
forth between the pages.  I find that the 2nd line of text does not
appear on the first page, and then shows up on the second page.

\centerline{\includegraphics[width=6in]{gsbug.fig.ps}}

\newpage

\centerline{\includegraphics[width=6in]{gsbug.fig.ps}}

This is the second page.

\end{document}
-------------------
Begin gsbug.fig.ps:
-------------------
%!PS-Adobe-2.0 EPSF-1.2
%%Creator: Randall O'Reilly
%%DocumentFonts: Helvetica
%%Pages: 1
%%BoundingBox: 50 70 260 155
%%EndComments

%%Page: 1 1

0 0 0 setcolor
1 setlinewidth

newpath
57 76 moveto
57 147 lineto
255 147 lineto
255 76 lineto
closepath
stroke

/Helvetica findfont
12 scalefont setfont
60 120 moveto
(this is some text to test) show

60 80 moveto
(and some more) show

showpage




Comment 4 Tim Waugh 2001-02-02 16:38:19 UTC
This appears to be the same as bug 19212, which is fixed.

*** This bug has been marked as a duplicate of 19212 ***