From 90a876a04984e5fd8fe6f234b29d2c4a0bc46c2a Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Wed, 7 Aug 2024 14:45:26 +0200 Subject: [PATCH] enhance debug message (see #13087) --- src/frontends/qt/GuiFontLoader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt/GuiFontLoader.cpp b/src/frontends/qt/GuiFontLoader.cpp index 453d1260ea..cf6c205d2d 100644 --- a/src/frontends/qt/GuiFontLoader.cpp +++ b/src/frontends/qt/GuiFontLoader.cpp @@ -155,7 +155,8 @@ static bool isChosenFont(QFont & font, QString const & family, // positions. QFontInfo fi(font); - LYXERR_NOPOS(Debug::FONT, "got: " << fi.family()); + LYXERR_NOPOS(Debug::FONT, "got: " << fi.family() + << " (style: " << fi.styleName() << ")"); if (fi.family().contains(family) && (style.isEmpty() || fi.styleName().contains(style))) { -- 2.39.5