bool KDChart::TextLayoutItem::realFontWasRecalculated() const { const qreal fntSiz = realFontSize(); const bool bRecalcDone = ( ( ! cachedSizeHint.isValid() ) || ( cachedFontSize != fntSiz ) ); if( bRecalcDone && fntSiz > 0.0 ){ cachedFontSize = fntSiz; cachedFont.setPointSizeF( fntSiz ); } return bRecalcDone; }
CEDChar * CRtfWord::makeCedSpace(int fontName, int fontAttrs) const { CEDChar * space = CRtfChar::makeCedSpace(fontName, DefFontSize, fontAttrs); if (RfrmtOptions::useSize() || !RfrmtOptions::useFrames()) space->setFontHeight(realFontSize() * 2); return space; }