From 07f70f78c5a23715f6c04ffed3a792be3d4f1f21 Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Fri, 14 Jun 2019 12:27:59 +0200
Subject: [PATCH] CONFIG: disable runtimePostProcessing titleHack by default

- a leftover from much older VTK versions that had poor handling of
  the scalar bar text.
---
 src/functionObjects/graphics/runTimePostProcessing/scalarBar.C | 2 +-
 src/functionObjects/graphics/runTimePostProcessing/scalarBar.H | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/functionObjects/graphics/runTimePostProcessing/scalarBar.C b/src/functionObjects/graphics/runTimePostProcessing/scalarBar.C
index 95a5413c2d6..b19c46a1ab0 100644
--- a/src/functionObjects/graphics/runTimePostProcessing/scalarBar.C
+++ b/src/functionObjects/graphics/runTimePostProcessing/scalarBar.C
@@ -53,7 +53,7 @@ void Foam::functionObjects::runTimePostPro::scalarBar::clear()
     bold_ = true;
     shadow_ = false;
     italic_ = false;
-    titleHack_ = true;
+    titleHack_ = false;
     position_ = {0.8, 0.1};
     size_ = {0.1, 0.5};
     title_ = "";
diff --git a/src/functionObjects/graphics/runTimePostProcessing/scalarBar.H b/src/functionObjects/graphics/runTimePostProcessing/scalarBar.H
index 5507444deec..9803b5e41b4 100644
--- a/src/functionObjects/graphics/runTimePostProcessing/scalarBar.H
+++ b/src/functionObjects/graphics/runTimePostProcessing/scalarBar.H
@@ -42,7 +42,7 @@ Description
         bold        | Title in bold                         | no  | yes
         italic      | Title in italic font                  | no  | no
         shadow      | Title with shadowont                  | no  | no
-        titleHack   | Alternative placement strategy        | no  | yes
+        titleHack   | Alternative placement strategy        | no  | no
     \endtable
 
 Note
-- 
GitLab