]> git.lyx.org Git - lyx.git/blobdiff - src/FontLoader.C
Dekel's patch -- I didn't fix the xforms-0.88 keysyms stuff so it still doesn't finis...
[lyx.git] / src / FontLoader.C
index 9d56de1068156d3710374c6f2fb936df6b53fed4..6938348f6e9b9b1d5a34b7b22461cc7842c515a2 100644 (file)
@@ -30,6 +30,11 @@ using std::endl;
 
 extern BufferView * current_view;
 
+
+// The global fontloader
+FontLoader fontloader;
+
+
 // Initialize font loader
 FontLoader::FontLoader()
 {
@@ -262,7 +267,7 @@ XFontStruct * FontLoader::doLoad(LyXFont::FONT_FAMILY family,
                f.setNoun(LyXFont::INHERIT);
                f.setLatex(LyXFont::INHERIT);
                f.setColor(LColor::inherit);
-               lyxerr << "Font '" << f.stateText() 
+               lyxerr << "Font '" << f.stateText(0
                       << "' matched by\n" << font << endl;
        }