]> git.lyx.org Git - features.git/commitdiff
show failing font name from Mikhail Teterin.
authorJohn Levon <levon@movementarian.org>
Thu, 22 Aug 2002 16:50:15 +0000 (16:50 +0000)
committerJohn Levon <levon@movementarian.org>
Thu, 22 Aug 2002 16:50:15 +0000 (16:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5077 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/xfont_loader.C

index dd34a883ad4f1f17aff20122e41713c003743320..f5a9e77e5074c10a82afcf4d5986e93b206eb0ca 100644 (file)
@@ -1,3 +1,7 @@
+2002-08-22  John Levon  <levon@movementarian.org>
+
+       * fontloader.C: show name of failed font load (from Mikhail Teterin)
 2002-08-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
 
        * FormMathsBitmap.h: include boost/shared_ptr.hpp, remove include
index 2e67811c8fcb029c1ab4d4a292dfa5d6bde7c0e8..ba61b639b584abc089285d77d6740e64c736642a 100644 (file)
@@ -301,7 +301,8 @@ XFontStruct * xfont_loader::doLoad(LyXFont::FONT_FAMILY family,
                if (font == "fixed") {
                        lyxerr << "We're doomed. Can't get 'fixed' font." << endl;
                } else {
-                       lyxerr << "Could not get font. Using 'fixed'." << endl;
+                       lyxerr << "Could not get font '" << font 
+                               << "'. Using 'fixed'." << endl;
                        fs = XLoadQueryFont(fl_get_display(), "fixed");
                }
        } else if (lyxerr.debugging(Debug::FONT)) {