Menu

#1874 /Symbol not showing in eps output

None
closed-works-for-me
nobody
None
2017-03-17
2016-11-02
Anonymous
No

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

Related

Bugs: #1874

Discussion

  • Ethan Merritt

    Ethan Merritt - 2016-11-02

    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.

     
  • Ethan Merritt

    Ethan Merritt - 2016-12-14
    • status: open --> closed-works-for-me
    • Group: -->
    • Priority: -->
     
  • Alexander Mead

    Alexander Mead - 2017-03-17

    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.

     
  • Ethan Merritt

    Ethan Merritt - 2017-03-17

    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.

     
  • Tatsuro MATSUOKA

    @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.

     
    • Alexander Mead

      Alexander Mead - 2017-03-17

      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:

      @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.


      Status: closed-works-for-me
      Priority:
      Created: Wed Nov 02, 2016 04:08 PM UTC by Anonymous
      Last Updated: Fri Mar 17, 2017 03:54 AM UTC
      Owner: nobody

      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


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/gnuplot/bugs/1874/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1874

      • Ethan Merritt

        Ethan Merritt - 2017-03-17

        On Fri, Mar 17, 2017 at 10:06 AM, Alexander Mead alexmead@users.sf.net
        wrote:

        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.

        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

        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:

        @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.


        Status: closed-works-for-me
        Priority:
        Created: Wed Nov 02, 2016 04:08 PM UTC by Anonymous
        Last Updated: Fri Mar 17, 2017 03:54 AM UTC
        Owner: nobody

        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


        Sent from sourceforge.net because you indicated interest in
        https://sourceforge.net/p/gnuplot/bugs/1874/

        To unsubscribe from further messages, please visit
        https://sourceforge.net/auth/subscriptions/


        [bugs:#1874] /Symbol not showing in eps output

        Status: closed-works-for-me
        Priority:
        Created: Wed Nov 02, 2016 04:08 PM UTC by Anonymous
        Last Updated: Fri Mar 17, 2017 08:50 AM UTC
        Owner: nobody

        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


        Sent from sourceforge.net because you indicated interest in <
        https://sourceforge.net/p/gnuplot/bugs/1874/>

        To unsubscribe from further messages, please visit <
        https://sourceforge.net/auth/subscriptions/>

         

Log in to post a comment.