Hi, I have submitted a patch for review:
https://gerrit.libreoffice.org/4000 To pull it, you can do: git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/00/4000/1 fdo#52540 fix hyphenation of Graphite ligatures Change-Id: I3c6aef6d845a7494d54b3c902654b21f3939e8cf --- M vcl/source/glyphs/graphite_layout.cxx 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/vcl/source/glyphs/graphite_layout.cxx b/vcl/source/glyphs/graphite_layout.cxx index 8b19c31..72e48c9 100644 --- a/vcl/source/glyphs/graphite_layout.cxx +++ b/vcl/source/glyphs/graphite_layout.cxx @@ -591,6 +591,7 @@ } size_t numchars = gr_count_unicode_characters(gr_utf16, rArgs.mpStr + mnSegCharOffset, rArgs.mpStr + (rArgs.mnLength > limit + 64 ? limit + 64 : rArgs.mnLength), NULL); + if (rArgs.mnMinCharPos + numchars > limit) numchars = limit - rArgs.mnMinCharPos; // fdo#52540 if (mpFeatures) pSegment = gr_make_seg(mpFont, mpFace, 0, mpFeatures->values(), gr_utf16, rArgs.mpStr + mnSegCharOffset, numchars, bRtl); -- To view, visit https://gerrit.libreoffice.org/4000 To unsubscribe, visit https://gerrit.libreoffice.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3c6aef6d845a7494d54b3c902654b21f3939e8cf Gerrit-PatchSet: 1 Gerrit-Project: core Gerrit-Branch: libreoffice-4-1 Gerrit-Owner: Németh László <nem...@numbertext.org> _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice