Public bug reported:

This is a bug I found 2 or 3 years ago but I though that was pstricks related. 
However, it seems is a bug of evince.
I can confirm it in:
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

and also in 
PRETTY_NAME="Debian GNU/Linux wheezy/sid"
NAME="Debian GNU/Linux"

I created a latex figure using pstricks to shadow the area under x^2. 
I used latex + dvips + ps2pdf14 to create the pdf file.
Evince does not show the figure properly.

evince myfile.pdf => WRONG

However, 
printing the file, from evince: CORRECT
evince myfile.ps => CORRECT
acroread myfile.pdf => CORRECT

I attach the .pdf file that includes: 
a) the problematic figure: this changes depending the viewer you use.
b) screenshots of the same figure with both acroread (left) and evince (right) 

And this is the .tex file. 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\documentclass{article}
\usepackage{pstricks-add}

\begin{document}
\begin{pspicture}(-1,-1)(3,6)
\pscustom[algebraic,linestyle=none,fillstyle=hlines,
          hatchsep=4pt,hatchcolor=blue]{%
     \psplot{0}{1.5}{x^2}
     \psline(1.5,0)(0,0)
}
\psaxes{->}(3,4)
\psplot[algebraic]{0}{2}{x^2}
\end{pspicture}
\end{document}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thank you!

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: evince 3.2.1-0ubuntu2.2
ProcVersionSignature: Ubuntu 3.0.0-20.34-generic 3.0.30
Uname: Linux 3.0.0-20-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Mon Jun 11 09:11:45 2012
ExecutablePath: /usr/bin/evince
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
KernLog:
 
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_US.UTF-8
SourcePackage: evince
UpgradeStatus: Upgraded to oneiric on 2011-10-18 (236 days ago)

** Affects: evince (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1011456

Title:
  evince does not show pstricks graphic (pscustom)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1011456/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to