summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qglyphrun_p.h
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2014-10-09 17:56:51 +0200
committerFrederik Gladhorn <frederik.gladhorn@digia.com>2014-10-09 17:56:52 +0200
commit881ceeff428c377d02ae3881beccdbb028385075 (patch)
tree65bd4335d7f67b81b04e33f2cbb17a41cf966dd8 /src/gui/text/qglyphrun_p.h
parentb3d2c867ed14cd6337d5e32b8750f198b5b7d331 (diff)
parent106487387d493dab934e19b33bfed55b8df62d67 (diff)
Merge remote-tracking branch 'origin/5.4' into dev
Diffstat (limited to 'src/gui/text/qglyphrun_p.h')
-rw-r--r--src/gui/text/qglyphrun_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/text/qglyphrun_p.h b/src/gui/text/qglyphrun_p.h
index c9554d0d6d..d18d7129f9 100644
--- a/src/gui/text/qglyphrun_p.h
+++ b/src/gui/text/qglyphrun_p.h
@@ -63,6 +63,8 @@ public:
, glyphIndexDataSize(0)
, glyphPositionData(glyphPositions.constData())
, glyphPositionDataSize(0)
+ , textRangeStart(-1)
+ , textRangeEnd(-1)
{
}
@@ -77,6 +79,8 @@ public:
, glyphIndexDataSize(other.glyphIndexDataSize)
, glyphPositionData(other.glyphPositionData)
, glyphPositionDataSize(other.glyphPositionDataSize)
+ , textRangeStart(other.textRangeStart)
+ , textRangeEnd(other.textRangeEnd)
{
}
@@ -93,6 +97,9 @@ public:
const QPointF *glyphPositionData;
int glyphPositionDataSize;
+ int textRangeStart;
+ int textRangeEnd;
+
static QGlyphRunPrivate *get(const QGlyphRun &glyphRun)
{
return glyphRun.d.data();