diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-09-17 06:30:04 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-09-30 09:52:20 (GMT) |
commit | 086a349d770eafe007136f3dda6ef7d6093a86a9 (patch) | |
tree | 7031a436cd38f33547bbacaf01c3db3c5a88871f /src/gui/text/qfontengine_p.h | |
parent | 5bd6f7eb5c7d87c08539b6c2df416990cc417ec7 (diff) | |
download | Qt-086a349d770eafe007136f3dda6ef7d6093a86a9.zip Qt-086a349d770eafe007136f3dda6ef7d6093a86a9.tar.gz Qt-086a349d770eafe007136f3dda6ef7d6093a86a9.tar.bz2 |
Moving QPdf::stripSpecialCharacter to fontengine
It is only used by the fontengines. This is one of the steps to make it
easier to make fontengines build outside of QtGui.
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/gui/text/qfontengine_p.h')
-rw-r--r-- | src/gui/text/qfontengine_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h index 3b91cd8..571cf98 100644 --- a/src/gui/text/qfontengine_p.h +++ b/src/gui/text/qfontengine_p.h @@ -227,6 +227,8 @@ public: static const uchar *getCMap(const uchar *table, uint tableSize, bool *isSymbolFont, int *cmapSize); static quint32 getTrueTypeGlyphIndex(const uchar *cmap, uint unicode); + static QByteArray convertToPostscriptFontFamilyName(const QByteArray &fontFamily); + QAtomicInt ref; QFontDef fontDef; uint cache_cost; // amount of mem used in kb by the font |