(81e596c24fc106439ce4135478a2d18d23fdbaac)
#include "qwindowsfontdatabase_ft_p.h"
#include "qwindowsfontdatabase_p.h"
#include <QtGui/private/qfontengine_ft_p.h>
#include <ft2build.h>
#include <QtCore/QDir>
#include <QtCore/QDirIterator>
#include <QtCore/QSettings>
#include <QtCore/private/qduplicatetracker_p.h>
#include <QtGui/QGuiApplication>
#include <QtGui/QFontDatabase>
#include <wchar.h>
Go to the source code of this file.
|
static QFontDatabase::WritingSystem | writingSystemFromCharSet (uchar charSet) |
static FontFile * | createFontFile (const QString &fileName, int index) |
static FontKeys & | fontKeys () |
static const FontKey * | findFontKey (const QString &name, int *indexIn=nullptr) |
static bool | detectColorFont (const QByteArray &filename) |
static bool | addFontToDatabase (QString familyName, QString styleName, const QString &fullName, const LOGFONT &logFont, const TEXTMETRIC *textmetric, const FONTSIGNATURE *signature, int type) |
static int QT_WIN_CALLBACK | storeFont (const LOGFONT *logFont, const TEXTMETRIC *textmetric, DWORD type, LPARAM lparam) |
static int QT_WIN_CALLBACK | populateFontFamilies (const LOGFONT *logFont, const TEXTMETRIC *textmetric, DWORD, LPARAM) |
◆ FontKeys
◆ addFontToDatabase()
bool addFontToDatabase |
( |
QString | familyName, |
|
|
QString | styleName, |
|
|
const QString & | fullName, |
|
|
const LOGFONT & | logFont, |
|
|
const TEXTMETRIC * | textmetric, |
|
|
const FONTSIGNATURE * | signature, |
|
|
int | type ) |
|
static |
◆ createFontFile()
◆ detectColorFont()
bool detectColorFont |
( |
const QByteArray & | filename | ) |
|
|
static |
◆ findFontKey()
const FontKey * findFontKey |
( |
const QString & | name, |
|
|
int * | indexIn = nullptr ) |
|
static |
◆ fontKeys()
◆ populateFontFamilies()
int QT_WIN_CALLBACK populateFontFamilies |
( |
const LOGFONT * | logFont, |
|
|
const TEXTMETRIC * | textmetric, |
|
|
DWORD | , |
|
|
LPARAM | ) |
|
static |
◆ storeFont()
int QT_WIN_CALLBACK storeFont |
( |
const LOGFONT * | logFont, |
|
|
const TEXTMETRIC * | textmetric, |
|
|
DWORD | type, |
|
|
LPARAM | lparam ) |
|
static |
◆ writingSystemFromCharSet()