[texworks] graphics problem

Benny Lautrup lautrup at nbi.dk
Wed Feb 24 11:35:35 CET 2010


Thanks a lot for your advice.

It is now clear that the distortion is a problem with eyes, not with the
picture, nor with Mathematica. 

It is the curving lines in the graph that makes Alain's and my eyes see a
distortion. I have measured it carefully on the screen and on the printout
(which also looks distorted), and I can't observe any distortion. It is a
question of information processing in the brain. Interesting in itself, but
that is not what this discussion forum is about.

So, we are left with the problem of the missing digits. 

I use the official versions of tw. I have not yet had time to compile the
latest update of tw, although I have all the tools at my disposal. Maybe I
should set a day off for that soon. Or perhaps someone has a recently
compiled version of tw and the libraries which they can mail me.


-----Original Message-----
From: texworks-bounces at tug.org [mailto:texworks-bounces at tug.org] On Behalf
Of Stefan Löffler
Sent: 24. februar 2010 11:20
To: texworks at tug.org
Subject: Re: [texworks] graphics problem


Am 2010-02-24 11:08, schrieb Benny Lautrup:
> Now I am not sure it is Mathematica that is the culprit in the embedding
> problem. Adobe does not embed all fonts when they are proprietary. I am
> using pctex mtpro2 Times-Roman fonts for the formulas in the LaTeX
> manuscript, but I can't see how that can affect Mathematica, who cannot
> about it.

No, Mathematica doesn't seem to be the (real) culprit. I googled a bit
about this. It seems that all pdf renderers are required to be able to
render a few fonts on their own, and this list includes Times-Roman. Of
course, this doesn't help. As workarounds, you could use a specific,
other font, or you could try producing an (E)PS file and then convert it
to PDF by another program which is capable of embedding all fonts.

So the (real) culprit is the poppler library. Now it's not as easy as it
sounds, unfortunately. As posted before, this work correctly on, e.g.,
Linux. So the problem seems to be a Windows-specific one. In particular,
I believe that this may be related to the patched version of poppler
that is used.

Are you using the official version or did you build Tw yourself? In the
first case, it might be worth a try to either build Tw yourself or have
someone on this list who builds Tw regularly send you a copy (I'm not
sure if KDE on Windows distributes a patched version of poppler, but if
it doesn't that could help).

> It is, I believe, the Mathematica 7.01 ContourPlot that distorts the image
> and causes the display error, as I wrote in my preceding mail.

Strange, I use Mathematica 7.0.0 on Linux and don't see any (obvious)
problem. This shouldn't happen in an application like this...


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 9.0.733 / Virus Database: 271.1.1/2705 - Release Date: 02/23/10

More information about the texworks mailing list