Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 4220 → Rev 4221

/branches/Version13x/Scribus/scribus/prefsmanager.cpp
105,7 → 105,18
{
/** Default font and size **/
SCFontsIterator it(appPrefs.AvailFonts);
appPrefs.toolSettings.defFont = it.currentKey();
bool goodFont = false;
for ( SCFontsIterator itf(appPrefs.AvailFonts); itf.current(); ++itf)
{
if ((itf.currentKey() == "Arial Regular") || (itf.currentKey() == "Times New Roman Regular"))
{
appPrefs.toolSettings.defFont = itf.currentKey();
goodFont = true;
break;
}
}
if (!goodFont)
appPrefs.toolSettings.defFont = it.currentKey();
appPrefs.toolSettings.defSize = 120;
 
/** Default colours **/