From 827a21f9997c47ce0682b4bd4bb01502baf2b479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20Zim=C3=A1nyi?= Date: Mon, 30 Oct 2023 08:39:38 +0100 Subject: [PATCH] Change Overpass font to more widely used Arial in ReteDiagram generator. (#5568) --- .../src/main/java/org/drools/retediagram/ReteDiagram.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drools-retediagram/src/main/java/org/drools/retediagram/ReteDiagram.java b/drools-retediagram/src/main/java/org/drools/retediagram/ReteDiagram.java index fb72d30283c..7c4fd922589 100644 --- a/drools-retediagram/src/main/java/org/drools/retediagram/ReteDiagram.java +++ b/drools-retediagram/src/main/java/org/drools/retediagram/ReteDiagram.java @@ -164,9 +164,9 @@ public void diagramRete(Rete rete) { File pngFile = new File(outputPath, pngFileName); try (PrintStream out = new PrintStream(new FileOutputStream(gvFile));) { out.println("digraph g {\n" + - "graph [fontname = \"Overpass\" fontsize=11];\n" + - " node [fontname = \"Overpass\" fontsize=11];\n" + - " edge [fontname = \"Overpass\" fontsize=11];"); + "graph [fontname = \"Arial\" fontsize=11];\n" + + " node [fontname = \"Arial\" fontsize=11];\n" + + " edge [fontname = \"Arial\" fontsize=11];"); HashMap, Set> levelMap = new HashMap<>(); HashMap, List> nodeMap = new HashMap<>(); List> vertexes = new ArrayList<>();