summaryrefslogtreecommitdiff
path: root/vcl/inc/sallayout.hxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-12-08 05:38:08 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-12-11 00:21:32 +0000
commit0fb0a564bf9cb0f721e812ac4bfa70e951827bdd (patch)
tree67274cc7c5e16b28ebecdccbd6e1eec43552c656 /vcl/inc/sallayout.hxx
parent57d248bcec3c6ae3fa1a943a9fd92c566239787f (diff)
Don’t encode font fallback level in the glyph id
Change-Id: I747d969c3c1dc42b1a3b5d12d06fed3af9a64675 Reviewed-on: https://gerrit.libreoffice.org/31818 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/inc/sallayout.hxx')
-rw-r--r--vcl/inc/sallayout.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index 9e7f8ab44e4a..ee41051f7f38 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -279,6 +279,8 @@ struct GlyphItem
sal_GlyphId maGlyphId;
Point maLinearPos; // absolute position of non rotated string
+ int mnFallbackLevel;
+
public:
GlyphItem()
: mnFlags(0)
@@ -287,6 +289,7 @@ public:
, mnNewWidth(0)
, mnXOffset(0)
, maGlyphId(0)
+ , mnFallbackLevel(0)
{ }
GlyphItem( int nCharPos, sal_GlyphId aGlyphId, const Point& rLinearPos,
@@ -298,6 +301,7 @@ public:
, mnXOffset(0)
, maGlyphId(aGlyphId)
, maLinearPos(rLinearPos)
+ , mnFallbackLevel(0)
{ }
GlyphItem( int nCharPos, sal_GlyphId aGlyphId, const Point& rLinearPos,
@@ -309,6 +313,7 @@ public:
, mnXOffset(nXOffset)
, maGlyphId(aGlyphId)
, maLinearPos(rLinearPos)
+ , mnFallbackLevel(0)
{ }
enum {