void FontSelectionView::SetFont(const BFont& font, float size) { BFont resizedFont(font); resizedFont.SetSize(size); SetFont(resizedFont); }
QFont Kleo::KConfigBasedKeyFilter::font( const QFont & f ) const { if ( mUseFullFont ) return resizedFont( mFont, f.pointSize(), mStrikeOut ); else return adapt( f, mItalic, mBold, mStrikeOut ); }