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ó <nemeth@numbertext.org>
Context
- [PATCH libreoffice-4-1] fdo#52540 fix hyphenation of Graphite ligatures · via Code Review
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.