summaryrefslogtreecommitdiff
path: root/src/gui/text/qfontengine_p.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-09-17 08:30:04 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2010-09-30 11:52:20 +0200
commit086a349d770eafe007136f3dda6ef7d6093a86a9 (patch)
tree7031a436cd38f33547bbacaf01c3db3c5a88871f /src/gui/text/qfontengine_p.h
parent5bd6f7eb5c7d87c08539b6c2df416990cc417ec7 (diff)
downloadqt4-tools-086a349d770eafe007136f3dda6ef7d6093a86a9.tar.gz
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h
index 3b91cd829a..571cf981a2 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