From 589839a3517c93dc5002af4a098bee1b2f6892bc Mon Sep 17 00:00:00 2001
From: "P.-A. Loizeau" <p.-a.loizeau@gsi.de>
Date: Mon, 5 Feb 2024 17:08:35 +0100
Subject: [PATCH] Incr. size dummy QACanvas to 5x5 pixels, fix bad text size w/
 Deb12, refs #3151

---
 core/qa/CbmQaCanvas.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/core/qa/CbmQaCanvas.h b/core/qa/CbmQaCanvas.h
index 2c2e7bdb89..4bf3e3d33d 100644
--- a/core/qa/CbmQaCanvas.h
+++ b/core/qa/CbmQaCanvas.h
@@ -52,7 +52,9 @@ class CbmQaCanvas : public TCanvas {
   {
     /// the static variable will be initialised at the first call;
     /// deleted at the application end (c++11)
-    static CbmQaCanvas dummy("CbmQaDummyCanvas", "CbmQaDummyCanvas", 1, 1);
+    /// Note: Sizes 1x1 to 3x3 pixels lead to crazy text size and an error under Debian 12
+    /// Note: Size 4x4 lead to a pad with size 0 and not statbox  under Debian 12
+    static CbmQaCanvas dummy("CbmQaDummyCanvas", "CbmQaDummyCanvas", 5, 5);
     return dummy;
   }
 
-- 
GitLab