mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Improve some debug messages
The current code did not give much information. I am not sure why the <<FontInfo operator is not defined in FontInfo.h, but I figured that it was not necessary to understand that now.
This commit is contained in:
parent
4c58315d4b
commit
c68be9a9be
@ -119,6 +119,9 @@ private:
|
||||
mutable bool open_encoding_;
|
||||
};
|
||||
|
||||
///
|
||||
std::ostream & operator<<(std::ostream & os, FontInfo const & f);
|
||||
|
||||
|
||||
///
|
||||
inline
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include "GuiFontLoader.h"
|
||||
|
||||
#include "FontLoader.h"
|
||||
#include "FontInfo.h"
|
||||
#include "Font.h"
|
||||
#include "GuiFontMetrics.h"
|
||||
#include "qt_helpers.h"
|
||||
|
||||
@ -129,8 +129,8 @@ GuiFontInfo & fontinfo(FontInfo const & f)
|
||||
(f.size() < NUM_SIZE);
|
||||
if (!fontIsRealized) {
|
||||
// We can reset the font to something sensible in release mode.
|
||||
LYXERR0("Unrealized font!" << f);
|
||||
LATTEST(false);
|
||||
LYXERR0("Unrealized font!");
|
||||
FontInfo f2 = f;
|
||||
f2.realize(sane_font);
|
||||
GuiFontInfo * & fi = fontinfo_ptr(f2);
|
||||
|
Loading…
Reference in New Issue
Block a user