}
}
- font.setPointSizeFloat(convert<double>(lyxrc.font_sizes[f.size()])
+ font.setPointSizeF(convert<double>(lyxrc.font_sizes[f.size()])
* lyxrc.zoom / 100.0);
switch (f.series()) {
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())
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);
}