From e2cf98e4f52101dba437f8dc0c6e19aee01ea904 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 17 Aug 2006 08:46:38 +0000 Subject: [PATCH] get rid of QT3_SUPPORT and some cleanup git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14725 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/FontLoader.C | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontends/qt4/FontLoader.C b/src/frontends/qt4/FontLoader.C index 59076e7f61..6fea91ab68 100644 --- a/src/frontends/qt4/FontLoader.C +++ b/src/frontends/qt4/FontLoader.C @@ -312,7 +312,7 @@ QLFontInfo::QLFontInfo(LyXFont const & f) } } - font.setPointSizeFloat(convert(lyxrc.font_sizes[f.size()]) + font.setPointSizeF(convert(lyxrc.font_sizes[f.size()]) * lyxrc.zoom / 100.0); switch (f.series()) { @@ -337,11 +337,11 @@ QLFontInfo::QLFontInfo(LyXFont const & f) if (lyxerr.debugging(Debug::FONT)) { lyxerr[Debug::FONT] << "Font '" << f.stateText(0) - << "' matched by\n" << (const char *) font.rawName() << endl; + << "' matched by\n" << fromqstr(font.rawName()) << endl; } lyxerr[Debug::FONT] << "The font has size: " - << font.pointSizeFloat() << endl; + << font.pointSizeF() << endl; // Is this an exact match? if (font.exactMatch()) @@ -350,7 +350,7 @@ QLFontInfo::QLFontInfo(LyXFont const & f) lyxerr[Debug::FONT] << "This font is NOT an exact match" << endl; - lyxerr[Debug::FONT] << "XFLD: " << (const char *) font.rawName() << endl; + lyxerr[Debug::FONT] << "XFLD: " << fromqstr(font.rawName()) << endl; metrics = QFontMetrics(font); } -- 2.39.2