]> git.lyx.org Git - lyx.git/commitdiff
enhance debug message (see #13087)
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 7 Aug 2024 12:45:26 +0000 (14:45 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 7 Aug 2024 12:46:30 +0000 (14:46 +0200)
src/frontends/qt/GuiFontLoader.cpp

index 453d1260ea63fe3cfd763e3645586b4e69d4253d..cf6c205d2d331e53bcc98456f709ff6e4145d42f 100644 (file)
@@ -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))) {