Menu

#242 pngcairo MacOSX overlapped characters

None
open
nobody
None
5
2019-10-23
2019-10-23
No

Hello,

I found a bug in implementation of pngcairo for GNUOPLOT Version 5.2 patchlevel 7 last modified 2019-05-29 for MacOSX

When using the pngcairo terminal all characters are overlapped (see attached). In contrast, the clasic png terminal prints everything nicely. The pngcairo terminal works smoothly with the previous version of Gnuplot.

Here's the code I'm using

set xlabel "path"
unset xtics
set ylabel "ΔG^{‡} / kJ mol^{-1}"
set ytics mirror
set mytics 5
set term pngcairo font 'Arial,15'  
set output "plot.png"

p 'data' u 1:2 w p lt rgb "black" pt 7 notitle, '' smooth mcspline lt rgb "black" lw 2 notitle, '' u 1:2:(sprintf("%d", \$2)) every 2 w labels notitle offset 2.62, -0.5,

The data file

0   0
0.2 0
1.0 82.41792900
1.2 82.41792900
2.0 -46.49080049
2.2 -46.49080049

Regards,
Maciej Gierada

2 Attachments

Discussion

  • Ethan Merritt

    Ethan Merritt - 2019-10-23
    • Group: -->
     
  • Ethan Merritt

    Ethan Merritt - 2019-10-23

    This seems to be a problem with a bad pango library in some Mac installations.
    See Bug tracker issue 2194
    https://sourceforge.net/p/gnuplot/bugs/2194/

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.