On Sat, Mar 23, 2024 at 05:48:01PM -0400, Malte Dehling wrote:
> The file $WRKSRC/doc/html/class_reflex__coll__graph.dot generated is the
> same between my main system and the test vm. The issue seems to be with
> graphviz or one of its dependencies; even some very simple graphs
> produce errors like the ones you were seeing. Try running
>
> test-vm$ cat >test.dot <<END
> digraph {
> Node2 -> Node1 [label="test"];
> Node3 -> Node2;
> Node4 -> Node3;
> }
> END
[...]
> test-vm$ dot test.dot
> digraph {
> graph [bb="0,0,62.365,1.4779e+06"];
[...]
> As you can see something is very wrong - the coordinates are off the
> charts. This should produce a very simple graph, and on my main machine
> it does:
>
> main-machine$ dot test.dot
> digraph {
> graph [bb="0,0,87.685,271.25"];
[...]
> Not sure what's going on here.
Looks to me like its a fonts issue: my test vm uses modular xorg and
installing meta-pkgs/modular-xorg-fonts make the issue disappear.
Not sure what the right solution here is.
Cheers,
--
Malte Dehling
Attachment:
signature.asc
Description: PGP signature