mirror of https://github.com/vitalif/phantomjs
always use fontconfig
parent
cef6c84e00
commit
2c0316f07d
|
@ -47,7 +47,7 @@
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
# include <QtPlatformSupport/private/qcoretextfontdatabase_p.h>
|
# include <QtPlatformSupport/private/qcoretextfontdatabase_p.h>
|
||||||
#else
|
#else
|
||||||
# include <QtPlatformSupport/private/qgenericunixfontdatabase_p.h>
|
# include <QtPlatformSupport/private/qfontconfigdatabase_p.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <QtPlatformSupport/private/qgenericunixeventdispatcher_p.h>
|
#include <QtPlatformSupport/private/qgenericunixeventdispatcher_p.h>
|
||||||
|
@ -103,7 +103,7 @@ QPlatformFontDatabase *PhantomIntegration::fontDatabase() const
|
||||||
#if defined(Q_OS_MAC)
|
#if defined(Q_OS_MAC)
|
||||||
db = new QCoreTextFontDatabase();
|
db = new QCoreTextFontDatabase();
|
||||||
#else
|
#else
|
||||||
db = new QGenericUnixFontDatabase();
|
db = new QFontconfigDatabase();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
return db;
|
return db;
|
||||||
|
|
Loading…
Reference in New Issue