Gnuplot pdfcairo problem #11901
Comments
What is the output of your |
HOMEBREW_VERSION: 0.9 |
We have had similar problems with graphviz when using the Cairo library provided by Lion. Try the following:
Let me know if this fixes anything. |
I have the same problem. I tried what @hanhua suggested and got the same results: no text and no margin and things messed up. I noticed the problem for the first time some days ago after upgrading pango to 1.30.0.
Adding depends_on 'pkg-config' => :build |
My config: brew --config |
Hi I have the same problem here. Similar to matteoipri The addition of "depends on 'cairo'" didn't solve the problem brew --config |
I tried to reproduce the bug on my girlfriend's MacBook Pro but it works nice on it. this is her I feel the problem is with pango, in fact these are the versions installed on her MacBook: I'll try to reinstall the old pango and recompile gnuplot... |
ok, it works fine with pango 1.28.4 and with pango 1.29.4. How can we understand what the problem is with pango 1.30? |
Everything seems to work fine even with pango 1.29.5. |
Now I have a working gnuplot 4.6.0 with pango 1.29.5 compiled with clang (I removed the fails with llvm thing from the formula) and with cairo 1.12.2 compiled with clang this too. They took less time to compile! |
I have exactly the same issue - compiling with pango prior to 1.30.0 results in correct output, whereas with it there are only lines and no symbols. |
Has anyone tried this on a linux box or on mac outside of homebrew? |
Please report this upstream to gnuplot and pdfcairo as needed. |
The problem persists with the latest pango 1.30.1 update. I'll try to figure out how to report this issue. Homebrew is my first approach to open source software. |
MacPorts seems to disable Cairo by default. |
@matteoipri thank you for the hint! It works for me to. Here the steps I've done.
change
save file!
set the terminal in your gnuplot script just to
to test everything works correct. BTW: Does anyone know how to prevent |
It's git underneath. It won't overwrite anything, it'll try to merge. You may have to deal with merge conflicts once in a while. But your changes will never be lost.
You can't stop this currently, though it won't uninstall the old version so you can just |
Just a note to anyone having this issue and can't/won't install the old pango. If you pass |
Installing |
Do we need to add this as a dep? |
Try |
they are 2 different terminals, and the cairo based one is way much better in my opinion. |
$ gnuplot
Terminal type set to 'x11'
gnuplot> set term pdfcairo
Terminal type set to 'pdfcairo'
Options are ' transparent fontscale 0.5 size 5.00in, 3.00in '
gnuplot> set output 'test.pdf'
gnuplot> test
gnuplot> quit
The output file 'test.pdf' contains only lines and shapes but no text. Same for epscairo.
The text was updated successfully, but these errors were encountered: