Skip to content
Snippets Groups Projects
Commit f1f4144f authored by y.zobus's avatar y.zobus
Browse files

changed font type in dot header to pure helvetica

parent 8765362a
No related branches found
No related tags found
1 merge request!51Resolve "dot preview: text is not centered inside node"
......@@ -149,9 +149,9 @@ impl OpticScenery {
dot_string.push_str("\tcompound = true;\n");
dot_string.push_str(&format!("\trankdir = \"{}\";\n", rankdir));
dot_string.push_str(&format!("\tlabel=\"{}\"\n", self.description()));
dot_string.push_str("\tfontname=\"Helvetica,Arial,sans-serif\"\n");
dot_string.push_str("\tnode [fontname=\"Helvetica,Arial,sans-serif\" fontsize = 10]\n");
dot_string.push_str("\tedge [fontname=\"Helvetica,Arial,sans-serif\"]\n\n");
dot_string.push_str("\tfontname=\"Helvetica\"\n");
dot_string.push_str("\tnode [fontname=\"Helvetica\" fontsize = 10]\n");
dot_string.push_str("\tedge [fontname=\"Helvetica\"]\n\n");
dot_string
}
fn create_node_edge_str(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment