Viewing a simple .dot file (generated from LLVM tools to visualize code regions) with dotty results in broken text rendering for me, however files resulting from a conversion with dot to eps or png are perfectly fine. Reproducible: Always Steps to Reproduce: 1. dotty reg.main.dot 2. dot -Teps reg.main.dot > reg.main.eps 3. okular reg.main.eps (or any other viewer that can render eps files) Actual Results: dotty rendering has little black squares instead of rendered text Expected Results: dotty renders the .dot file similar to that the eps file looks This bug does not occur on e.g. ubuntus current version of graphviz
Created attachment 260440 [details] example .dot file
Created attachment 260441 [details] screenshot of broken output
Created attachment 260442 [details] emerge --info media-gfx/graphviz
I don't know about dotty, as it aborts for me with "no font found", but the file is displayed correctly by imagemagick, so it's likely just a configuration problem.
(In reply to comment #4) > I don't know about dotty, as it aborts for me with "no font found", > but the file is displayed correctly by imagemagick, so it's likely just a > configuration problem. > markus@dorm ~/workspace/polly/examples $ dotty reg.main.dot dotty.lefty: unknown color 1 using #1 dotty.lefty: unknown color 3 using #1 dotty.lefty: unknown color 5 using #1 tells me nothing about missing fonts, same behavior on my laptop (I sure did not touch and graphviz related config file there); also the .dot file doesn't specify which font to use so dotty could just use any font it finds if correct dotty output depends on a certain fonts-package to be installed this should be either added as dependency or at least noted in elog/ewarn/something similar
That's cause it probably chooses incorrect font. After all, there's no font embedding in a dot file, lefty uses ones it finds, the catch is it's not a fontconfig app, not even libXfont one, it picks fonts through Xaw.
Are you still hitting this with a fully updated system and graphviz-2.38?
I updated to media-gfx/graphviz-2.38.0-r1 and can confirm that dotty now behaves as expected and shows proper text instead of black dots/squares.