return font;
}
-} // namespace anon
+} // namespace
FontLoader::FontLoader()
switch (f.family()) {
case ROMAN_FAMILY: {
QString family = makeFontName(toqstr(lyxrc.roman_font_name),
- toqstr(lyxrc.roman_font_foundry));
+ toqstr(lyxrc.roman_font_foundry));
font.setFamily(family);
#ifdef Q_OS_MAC
#if QT_VERSION >= 0x040300 //&& QT_VERSION < 0x040800
LYXERR(Debug::FONT, "XFLD: " << font.rawName());
- font.setPointSizeF(f.realSize() * lyxrc.zoom / 100.0);
+ font.setPointSizeF(f.realSize() * lyxrc.currentZoom / 100.0);
LYXERR(Debug::FONT, "The font has size: " << font.pointSizeF());
return font;
}
-} // anon namespace
+} // namespace
GuiFontInfo::GuiFontInfo(FontInfo const & f)