#include "qfontconfigdatabase.h"
#include <QtCore/QList>
#include <QtGui/private/qfont_p.h>
#include <QtCore/QElapsedTimer>
#include <QtGui/private/qapplication_p.h>
#include <QtGui/QPlatformScreen>
#include <QtGui/private/qfontengine_ft_p.h>
#include <QtGui/private/qfontengine_p.h>
#include <ft2build.h>
#include <FT_TRUETYPE_TABLES_H>
#include <fontconfig/fontconfig.h>
Go to the source code of this file.
◆ JapaneseCsbBit
#define JapaneseCsbBit 17 |
◆ KoreanCsbBit
◆ SimplifiedChineseCsbBit
#define SimplifiedChineseCsbBit 18 |
◆ TraditionalChineseCsbBit
#define TraditionalChineseCsbBit 20 |
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
◆ anonymous enum
Enumerator |
---|
SampleCharCount | |
Definition at line 235 of file qfontconfigdatabase.cpp.
static const ushort sampleCharForWritingSystem[]
◆ getFcFamilyForStyleHint()
◆ getFCWeight()
static int getFCWeight |
( |
int |
fc_weight | ) |
|
|
static |
Definition at line 78 of file qfontconfigdatabase.cpp.
Referenced by QFontconfigDatabase::populateFontDatabase().
81 if (fc_weight <= (FC_WEIGHT_LIGHT + FC_WEIGHT_MEDIUM) / 2)
83 else if (fc_weight <= (FC_WEIGHT_MEDIUM + FC_WEIGHT_DEMIBOLD) / 2)
85 else if (fc_weight <= (FC_WEIGHT_DEMIBOLD + FC_WEIGHT_BOLD) / 2)
87 else if (fc_weight <= (FC_WEIGHT_BOLD + FC_WEIGHT_BLACK) / 2)
◆ requiresOpenType()
static bool requiresOpenType |
( |
int |
writingSystem | ) |
|
|
inlinestatic |
◆ scriptRequiresOpenType()
static bool scriptRequiresOpenType |
( |
int |
script | ) |
|
|
inlinestatic |
◆ languageForWritingSystem
const char* languageForWritingSystem[] |
|
static |
◆ openType
◆ sampleCharForWritingSystem
const ushort sampleCharForWritingSystem[] |
|
static |
◆ specialChars
Initial value:= {
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0xc15,
0xc95,
0xd15,
0xd9a,
0,
0,
0,
0x1000,
0,
0,
0x1681,
0x16a0,
0,
0x7ca
}
Definition at line 125 of file qfontconfigdatabase.cpp.
◆ specialLanguages
const char* specialLanguages[] |
|
static |
Initial value:= {
"en",
"el",
"ru",
"hy",
"he",
"ar",
"syr",
"div",
"hi",
"bn",
"pa",
"gu",
"or",
"ta",
"te",
"kn",
"ml",
"si",
"th",
"lo",
"bo",
"my",
"ka",
"ko",
"",
"",
"km",
""
}
Definition at line 93 of file qfontconfigdatabase.cpp.
Referenced by QFontconfigDatabase::fallbacksForFamily().