Hi,
I have some trouble on osx Sierra and gnuplot 5.0.5 (installed from homebrew). Whe I try to print greek letters using the postscript eps enhanced terminal in legends, titile or labels. They simply do not show.
However, piping to epstopdf does the trick and the symbols get printed : set ouput "| epstopdf --filter --outfile:file.pdf".
Is this a bug, an installation issue an error 40 ?
Thanks in advance,
vincent
Impossilbe to pin down exactly what might be wrong since you provide neither the commands you are using nor the output they produce.
Since you can post-process the output to produce a correct result then that output must indeed contain the desired characters. So it sounds like the output from gnuplot may be correct and it is your PostScript viewer that fails.
Please attach the .eps file produced by gnuplot so we can see what's in it.
Hi,
I have had this problem since upgrading to OSx Sierra and gnuplot 5. I can't remember exactly which of these updates triggered the problem. If I create an .eps file via gnuplot then Greek letters do not display once I use 'preview' to view the eps file, which entails a pdf -> eps conversion. However, everything works fine if I use ps2pdf via the terminal. Although this is a workaround, it's a bit of a pain to do each time in practice. I don't know if the problem resides with gnuplot or preview's pdf conversion.
Any help would be greatly appreciated.
Cheers,
Alex
PS.
A simple script that generates this problem is:
set term post enh col; set output 'pi.eps'
set title '{/Symbol p} - pi'
plot x w l lw 3
and the 'pi.eps' output is attached.
Not a gnuplot problem. Your output file displays and prints fine.
The most likely explanation is that the Adobe Symbol font is not present on your machine. It might have been lost during an upgrade or replaced by a non-Adobe font with the same name. Either way the solution is to re-install the font.
@Alex
As Ethan wrore the issue seems to come from ps viewer on OSx Sierra.
See:
https://discussions.apple.com/thread/7721688?start=0&tstart=0
Perhaps you can see symbols with MacGhosView.
Yes, this post discusses the issue too:
https://discussions.apple.com/thread/7862099?start=0&tstart=0
but does not provide a solution. If I use ghostview the eps renders
correctly, so I can workaround the problem that way. However, if I want to
import eps plots directly into keynote then I suppose the same eps->pdf Mac
conversion is used as preview uses and the greek symbols disappear, which
is annoying for me. I can always do eps2pdf and then import the pdf
instead, but this is laborious.
I guess I'll have to wait for the next OSx update...
On 17 March 2017 at 01:50, Tatsuro MATSUOKA tmacchant@users.sf.net wrote:
Related
Bugs:
#1874On Fri, Mar 17, 2017 at 10:06 AM, Alexander Mead alexmead@users.sf.net
wrote:
If you are OK with importing pdf files rather than eps files, you are better
off telling gnuplot to produce pdf files in the first place. The pdf
terminal
is more capable than the postscript terminal when dealing with non-ascii
characters of all sorts, not to mention supporting transparency and other
features that are simply missing from the PostScript language and are
therefore not available as options.
Ethan