changeset 2914:15b517659a74

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 31 Oct 2018 18:07:28 +0100
parents 058851941abe
children 9abcfd97a76b
files Core/Images/Font.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Core/Images/Font.cpp	Wed Oct 31 14:41:51 2018 +0100
+++ b/Core/Images/Font.cpp	Wed Oct 31 18:07:28 2018 +0100
@@ -353,6 +353,7 @@
                                const std::string& utf8) const
   {
     width = 0;
+    height = 0;
     
 #if ORTHANC_ENABLE_LOCALE == 1
     std::string s = Toolbox::ConvertFromUtf8(utf8, Encoding_Latin1);