[gegl] gegl: Use 10 point font size on nodes in graphviz



commit c80eaf3662394c2e401947758c8ab9f704e37eb4
Author: Martin Nordholts <martinn src gnome org>
Date:   Sun Jun 21 21:28:17 2009 +0200

    gegl: Use 10 point font size on nodes in graphviz

 gegl/gegl-dot.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gegl/gegl-dot.c b/gegl/gegl-dot.c
index b6f86b6..6d98af4 100644
--- a/gegl/gegl-dot.c
+++ b/gegl/gegl-dot.c
@@ -39,7 +39,7 @@ void
 gegl_dot_util_add_node (GString  *string,
                         GeglNode *node)
 {
-  g_string_append_printf (string, "op_%p [label=\"", node);
+  g_string_append_printf (string, "op_%p [fontsize=\"10\" label=\"", node);
 
   /* We build the record from top to bottom */
   g_string_append_printf (string, "{");
@@ -297,7 +297,7 @@ gegl_to_dot (GeglNode *node)
 {
   GString *string;
 
-  string = g_string_new ("digraph gegl { graph [ rankdir = \"BT\"];\n");
+  string = g_string_new ("digraph gegl { graph [ rankdir = \"BT\" fontsize = \"10\" ];\n");
 
   if (node->is_graph)
     gegl_dot_add_graph (string, node, "GEGL");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]