I am wondering if I can define an alternative font for the whole graph.
... digraph script_concept { graph [layout=\"dot\",fontname=\"helvetica\"]; ... <
... digraph script_concept { graph [layout=\"dot\",fontname=\"helvetica\"]; ...
Not sure if this is a recent update, but you can change these at the command-line level using the -G, -E and -N attribute flags. That is, the following works for me:
-G
-E
-N
$ dot -Tpng -Nfontname=Roboto -Nfontsize=10 \ -Efontname=Roboto -Efontsize=10 \ tree.dot > tree.png