//============================================================================== String Font::toString() const { String s; if (getTypefaceName() != getDefaultSansSerifFontName()) s << getTypefaceName() << "; "; s << String (getHeight(), 1); if (getTypefaceStyle() != getDefaultStyle()) s << ' ' << getTypefaceStyle(); return s; }
//============================================================================== String Font::toString() const { String s (getTypefaceFamily()); s += "; " + getTypefaceStyle() + "; "; s += String (getHeight(), 1); return s; }