summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-04-25 17:41:35 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2016-04-25 17:57:21 +0200
commita8d853fd9c1d84d63cf41b31ea548b6be8a621ec (patch)
treea07cc945506bb36d128330c49436752e7227624d
parent3d081a3f4d9b2d234c020a3468389816fadb061b (diff)
Update comment a bit
Change-Id: Ib2b9ea1b6509a57c08c9205e5fab124524bc91ea
-rw-r--r--vcl/unx/generic/glyphs/gcach_layout.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/unx/generic/glyphs/gcach_layout.cxx b/vcl/unx/generic/glyphs/gcach_layout.cxx
index 6e22fd03f859..8394678dc685 100644
--- a/vcl/unx/generic/glyphs/gcach_layout.cxx
+++ b/vcl/unx/generic/glyphs/gcach_layout.cxx
@@ -553,10 +553,12 @@ bool HbLayoutEngine::Layout(ServerFontLayout& rLayout, ImplLayoutArgs& rArgs)
// * If the font has no GDEF table, we just check if the glyph has
// zero advance width, but this is stupid and can be wrong. A
// better way would to check the character's Unicode combining
- // class, but unfortunately glyph gives combining marks the
+ // class, but unfortunately HarfBuzz gives combining marks the
// cluster value of its base character, so nCharPos will be
// pointing to the wrong character (but HarfBuzz might change
// this in the future).
+ // Newer versions of HarfBuzz can control this behaviour with
+ // hb_buffer_set_cluster_level().
bool bDiacritic = false;
if (hb_ot_layout_has_glyph_classes(mpHbFace))
{