Description of problem: Try to view the sample graph from the dotty man page eg $ cat > b.dot digraph test123 { a -> b -> c; a -> {x y}; b [shape=box]; c [label="hello\nworld",color=blue,fontsize=24, fontname="Palatino-Italic",fontcolor=red,style=filled]; a -> z [label="hi", weight=100]; x -> z [label="multi-line\nlabel"]; edge [style=dashed,color=red]; b -> x; {rank=same; b x} } $ dotty b.dot dotty.lefty: draw language parser error: t dotty.lefty: draw language parser error: t dotty.lefty: draw language parser error: t dotty.lefty: draw language parser error: t dotty.lefty: draw language parser error: t dotty.lefty: draw language parser error: t dotty.lefty: draw language parser error: t dotty.lefty: draw language parser error: t it displays the graph shapes but none of the text associated with them Version-Release number of selected component (if applicable): graphviz-2.34.0-4.fc20.x86_64 How reproducible: Always Steps to Reproduce: 1. dotty <any dot file> 2. 3. Actual results: Spews errors to stderr and doesn't display text Expected results: Graph displays fully with no errors Additional info:
Created attachment 856094 [details] Upstream patch for errors This patch taken from the upstream git repository "fixes" the errors printed on stderr, but for me at least text still doesn't render correctly. I just see a single pixel black dot where the text should be.
After I installed xorg-x11-fonts-ISO8859-1-100dpi it correctly shows node names.
Correction, I also need Graphviz from F21. Graphviz from F21 alone only displays a dot for node names. Together with the xorg fonts it works correctly. $ sudo yum update graphviz --releasever=21 Updating : graphviz-2.38.0-9.fc21.x86_64 1/2 Cleaning : graphviz-2.34.0-8.fc20.x86_64 2/2
Thanks for the patch, the xdot1.2 is needed. Regarding the fonts, the ISO8859-1 encoding is enforced by the fontmap in /usr/share/graphviz/lefty/dotty.lefty, so I am adding the 100dpi fonts to requirements. It already requires X, so this additional requirement shouldn't add much burden.
graphviz-2.34.0-9.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/graphviz-2.34.0-9.fc20
graphviz-2.38.0-10.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/graphviz-2.38.0-10.fc21
graphviz-2.34.0-9.fc20 works
Package graphviz-2.34.0-9.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing graphviz-2.34.0-9.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-14802/graphviz-2.34.0-9.fc20 then log in and leave karma (feedback).
graphviz-2.34.0-9.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
graphviz-2.38.0-10.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.