[LyX/master] enhance debug message (see #13087)

Juergen Spitzmueller spitz at lyx.org
Wed Aug 7 12:46:52 UTC 2024


commit 90a876a04984e5fd8fe6f234b29d2c4a0bc46c2a
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Wed Aug 7 14:45:26 2024 +0200

    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))) {


More information about the lyx-cvs mailing list