Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/3999
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/99/3999/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 7b663bd..8a99bb4 100644
--- a/vcl/source/glyphs/graphite_layout.cxx
+++ b/vcl/source/glyphs/graphite_layout.cxx
@@ -596,6 +596,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/3999
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-0
Gerrit-Owner: Németh László <[email protected]>
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice