Skip to content

Commit

Permalink
initial implementation for #7: less fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
pvanek committed Nov 4, 2011
1 parent 4fdce26 commit d025a46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Scribus/scribus/scfonts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -834,6 +834,9 @@ void SCFonts::GetFonts(QString pf, bool showFontInfo)
{
showFontInformation=showFontInfo;
FontPath.clear();
#ifdef WANT_PIN_CUBA
AddScalableFonts(QApplication::applicationDirPath());
#else
ReadCacheList(pf);
ScCore->setSplashStatus( QObject::tr("Searching for Fonts") );
AddUserPath(pf);
Expand Down Expand Up @@ -862,6 +865,7 @@ void SCFonts::GetFonts(QString pf, bool showFontInfo)
for(fpi = FontPath.begin() ; fpi != fpend; ++fpi)
AddScalableFonts(*fpi);
#endif
#endif // WANT_PIN_CUBA
updateFontMap();
WriteCacheList(pf);
}

0 comments on commit d025a46

Please sign in to comment.