mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
make some fonts warnings quieter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6226 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fbe3862bcd
commit
8926da3807
@ -1,3 +1,7 @@
|
||||
2003-02-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* qfont_loader.C (addFontPath): make debug messages quieter
|
||||
|
||||
2003-02-21 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* FileDialog.C (FileDialog): no need for LyXView *.
|
||||
|
@ -47,12 +47,14 @@ void addFontPath()
|
||||
char ** p = XGetFontPath(w.x11Display(), &n);
|
||||
if (std::find(p, p + n, dir) != p + n)
|
||||
return;
|
||||
lyxerr << "Adding " << dir << " to the font path.\n";
|
||||
lyxerr[Debug::FONT] << "Adding " << dir
|
||||
<< " to the font path." << endl;
|
||||
string const command = "xset fp+ " + dir;
|
||||
Systemcall s;
|
||||
if (!s.startscript(Systemcall::Wait, command))
|
||||
return;
|
||||
lyxerr << "Unable to add font path.\n";
|
||||
lyxerr << "Unable to add " << dir << "to the font path."
|
||||
<< endl;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
2003-02-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
||||
|
||||
* xfont_loader.C (addFontPath): make debug messages quieter
|
||||
|
||||
2003-02-21 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* FileFialog.C (c-tor): no longer receives a LyXView &, nor passes
|
||||
|
@ -142,12 +142,14 @@ bool addFontPath()
|
||||
char ** p = XGetFontPath(fl_get_display(), &n);
|
||||
if (std::find(p, p + n, dir) != p + n)
|
||||
return false;
|
||||
lyxerr << "Adding " << dir << " to the font path.\n";
|
||||
lyxerr[Debug::FONT] << "Adding " << dir
|
||||
<< " to the font path." << endl;
|
||||
string const command = "xset fp+ " + dir;
|
||||
Systemcall s;
|
||||
if (!s.startscript(Systemcall::Wait, command))
|
||||
return true;
|
||||
lyxerr << "Unable to add font path.\n";
|
||||
lyxerr << "Unable to add " << dir << "to the font path."
|
||||
<< endl;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user