summaryrefslogtreecommitdiff
path: root/vcl/inc/sallayout.hxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2018-04-21 20:38:58 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2018-04-22 06:39:45 +0200
commitbb56e2ded30d190c57810812983e5010f6945915 (patch)
tree6a5f5d22c4cf294a6fe22191365b846f222a2f14 /vcl/inc/sallayout.hxx
parent63a716783a555e91ad3a32f25f20cffc88ca15e4 (diff)
Don’t abuse glyph id for flagging dropped glyphs
Use a bitflag instead. Change-Id: I7833a37578112b5326f4a30578596e53085ff3c0 Reviewed-on: https://gerrit.libreoffice.org/53269 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.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/inc/sallayout.hxx b/vcl/inc/sallayout.hxx
index ba9cd3bd08e9..ffc38d4b8adf 100644
--- a/vcl/inc/sallayout.hxx
+++ b/vcl/inc/sallayout.hxx
@@ -286,7 +286,8 @@ public:
IS_DIACRITIC = 0x004,
IS_VERTICAL = 0x008,
IS_SPACING = 0x010,
- ALLOW_KASHIDA = 0x020
+ ALLOW_KASHIDA = 0x020,
+ IS_DROPPED = 0x040
};
bool IsClusterStart() const { return ((mnFlags & IS_IN_CLUSTER) == 0); }
@@ -295,6 +296,7 @@ public:
bool IsVertical() const { return ((mnFlags & IS_VERTICAL) != 0); }
bool IsSpacing() const { return ((mnFlags & IS_SPACING) != 0); }
bool AllowKashida() const { return ((mnFlags & ALLOW_KASHIDA) != 0); }
+ bool IsDropped() const { return ((mnFlags & IS_DROPPED) != 0); }
};
class VCL_PLUGIN_PUBLIC GenericSalLayout : public SalLayout