]> git.lizzy.rs Git - rust.git/commit
Also fixed monospace font for d3-graphviz engine
authorRich Kadel <richkadel@google.com>
Wed, 9 Sep 2020 21:49:32 +0000 (14:49 -0700)
committerRich Kadel <richkadel@google.com>
Wed, 9 Sep 2020 21:49:32 +0000 (14:49 -0700)
commitf7aee330c70ef787d2224adb49804343978dd145
treef5c6d68e079b78d5c155a68a5f27b2718289ab9f
parentc19b2370e419c0be7b46cc9ae7767773560a072c
Also fixed monospace font for d3-graphviz engine

VS code graphviz extensions use d3-graphviz, which supports `Courier`
fontname but does not support `monospace`. This caused graphs to render
poorly because the text sizes were wrong.
compiler/rustc_graphviz/src/lib.rs
compiler/rustc_mir/src/util/graphviz.rs
src/test/mir-opt/graphviz.main.mir_map.0.dot