-rw-r--r-- | library/fontfactoryinterface.h | 2 | ||||
-rw-r--r-- | library/qpeapplication.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/library/fontfactoryinterface.h b/library/fontfactoryinterface.h index 68b0be5..36f430f 100644 --- a/library/fontfactoryinterface.h +++ b/library/fontfactoryinterface.h @@ -45,6 +45,4 @@ class QFontFactory; * OPIEDIR/plugins/fontfactories. * - * As of version Opie 1.0.2 loading of the plugins is not - * yet implemented * */ diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index b686e2e..f4a7f74 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -81,4 +81,5 @@ #ifdef QWS #include "fontmanager.h" +#include "fontdatabase.h" #endif @@ -804,5 +805,4 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t ) d->loadTextCodecs(); d->loadImageCodecs(); - int dw = desktop() ->width(); setFont( QFont( d->fontFamily, d->fontSize ) ); @@ -879,6 +879,8 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t ) initApp( argc, argv ); #endif - // qwsSetDecoration( new QPEDecoration() ); - +#ifdef Q_WS_QWS + /* load the font renderer factories */ + FontDatabase::loadRenderers(); +#endif #ifndef QT_NO_TRANSLATION |