From ab05d65e08b884fc6b014ab77307a4c8ec55ea3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Tschumperl=C3=A9?= <david.tschumperle@gmail.com>
Date: Mon, 12 Nov 2018 14:30:18 +0100
Subject: [PATCH] Improve spacing between font characters when using
 CImg<T>::draw_text().

---
 CImg.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/CImg.h b/CImg.h
index 25e1e7c..0d416d9 100644
--- a/CImg.h
+++ b/CImg.h
@@ -60409,7 +60409,9 @@ namespace cimg_library_suffixed {
           font[' '].resize(font['f']._width,-100,-100,-100,0);
           if (' ' + 256<font.size()) font[' ' + 256].resize(font['f']._width,-100,-100,-100,0);
         }
-        cimglist_for(font,l) font[l].resize(std::max(font['j']._width,font[l]._width) + padding_x,-100,1,1,0,0,0.55f);
+        cimglist_for(font,l)
+          font[l].resize(std::max(font[';']._width,font[l]._width) + padding_x,
+                         -100,1,1,0,0,0.55f);
         font.insert(256,0);
         cimglist_for_in(font,0,255,l) font[l].assign(font[l + 256]._width,font[l + 256]._height,1,3,1);
       }
-- 
GitLab