summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont.h
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2011-12-16 19:26:40 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-01 15:47:09 +0100
commit10ac80708555cd0cca181e637d3a95c80826ec69 (patch)
tree990cae7c98c4fa892266565688da50d343961616 /src/gui/text/qrawfont.h
parent6e483e8385a6f1ec4af6b16bb792b272f0389ff4 (diff)
Add support for QRawFont in QTextLayout.
The purpose of this change is to allow shaping complex text while using QRawFont. This is needed for WebKit so that we can switch to using QRawFont everywhere and be more in line with what other WebKit ports do. Since this change slightly bends the aim of QRawFont, let's reserve this for internal use for now. Change-Id: I5ec0881f50ce288350bd277570cb5f1fb70c355c Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Diffstat (limited to 'src/gui/text/qrawfont.h')
-rw-r--r--src/gui/text/qrawfont.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/text/qrawfont.h b/src/gui/text/qrawfont.h
index 5cd996e705..bc5f6621c8 100644
--- a/src/gui/text/qrawfont.h
+++ b/src/gui/text/qrawfont.h
@@ -138,6 +138,7 @@ public:
private:
friend class QRawFontPrivate;
friend class QTextLayout;
+ friend class QTextEngine;
QExplicitlySharedDataPointer<QRawFontPrivate> d;
};