![]() |
Qt 4.8
|
#include "qplatformdefs.h"#include "qfont.h"#include "qapplication.h"#include "qfontinfo.h"#include "qfontdatabase.h"#include "qfontmetrics.h"#include "qpaintdevice.h"#include "qtextcodec.h"#include "qiodevice.h"#include "qhash.h"#include <private/qunicodetables_p.h>#include "qfont_p.h"#include "qfontengine_p.h"#include "qfontengine_x11_p.h"#include "qtextengine_p.h"#include <private/qt_x11_p.h>#include "qx11info_x11.h"#include <time.h>#include <stdlib.h>#include <ctype.h>Go to the source code of this file.
Macros | |
| #define | QFONTLOADER_DEBUG |
| #define | QFONTLOADER_DEBUG_VERBOSE |
| #define | QT_FATAL_ASSERT |
Typedefs | |
| typedef QHash< int, QString > | FallBackHash |
Functions | |
| static bool | fontExists (const QString &fontName) |
| QString | qt_fallback_font_family (int script) |
| static QByteArray | qt_fixXLFD (const QByteArray &xlfd) |
| double | qt_pixelSize (double pointSize, int dpi) |
| double | qt_pointSize (double pixelSize, int dpi) |
| Q_GUI_EXPORT void | qt_x11_set_fallback_font_family (int script, const QString &family) |
Variables | |
| static const char *const | tryFonts [] |
| #define QFONTLOADER_DEBUG |
Definition at line 69 of file qfont_x11.cpp.
| #define QFONTLOADER_DEBUG_VERBOSE |
Definition at line 70 of file qfont_x11.cpp.
| #define QT_FATAL_ASSERT |
Definition at line 42 of file qfont_x11.cpp.
| typedef QHash<int, QString> FallBackHash |
Definition at line 110 of file qfont_x11.cpp.
|
static |
Definition at line 339 of file qfont_x11.cpp.
| QString qt_fallback_font_family | ( | int | script | ) |
Definition at line 114 of file qfont_x11.cpp.
Referenced by getFcPattern().
|
static |
Definition at line 98 of file qfont_x11.cpp.
Referenced by qt_x11_set_fallback_font_family().
| double qt_pixelSize | ( | double | pointSize, |
| int | dpi | ||
| ) |
Definition at line 74 of file qfont_x11.cpp.
Referenced by QFontDatabase::loadXlfd(), and qt_fillFontDef().
| double qt_pointSize | ( | double | pixelSize, |
| int | dpi | ||
| ) |
Definition at line 83 of file qfont_x11.cpp.
Referenced by QFontDatabase::loadXlfd(), qt_FcPatternToQFontDef(), and qt_fillFontDef().
| Q_GUI_EXPORT void qt_x11_set_fallback_font_family | ( | int | script, |
| const QString & | family | ||
| ) |
Definition at line 121 of file qfont_x11.cpp.
|
static |
Definition at line 316 of file qfont_x11.cpp.
Referenced by fontExists().