diff --git a/src/Win32/LOGFONTA.hpp b/src/Win32/LOGFONTA.hpp index b0d6296..3a24bb0 100644 --- a/src/Win32/LOGFONTA.hpp +++ b/src/Win32/LOGFONTA.hpp @@ -40,9 +40,11 @@ class tagLOGFONTA // throw std::runtime_error(fmt::format("0 <= lfWeight <= 1000 must hold but lfWeight = {}", lfWeight)); } + // Don't know how but lfOutPrecision might have values + // out of it's 'valid' range if(lfOutPrecision > 10U) { - throw std::runtime_error(fmt::format("lfOutPrecision <= 10 must hold but lfOutPrecision = {}", lfOutPrecision)); + // throw std::runtime_error(fmt::format("lfOutPrecision <= 10 must hold but lfOutPrecision = {}", lfOutPrecision)); } if(lfQuality > 6U)