# HG changeset patch # User Sebastien Jodogne # Date 1541005648 -3600 # Node ID 15b517659a74e34f9b7236636c95495e15912847 # Parent 058851941abe943630f224c8681623ef1c7202a3 fix diff -r 058851941abe -r 15b517659a74 Core/Images/Font.cpp --- 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);