vcl/generic/glyphs/gcach_layout.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 7ec6baba68aba6a66d161e545f0f7808f57ff011 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Jun 24 16:20:51 2013 +0100 Resolves: fdo#66042 get the bounds of the current grapheme Change-Id: I5b1808d74f0a1dd0d8b6ea22136e574c0a6e8e2a diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx index 4826936..0f69e59 100644 --- a/vcl/generic/glyphs/gcach_layout.cxx +++ b/vcl/generic/glyphs/gcach_layout.cxx @@ -111,7 +111,7 @@ void ServerFontLayout::setNeedFallback(ImplLayoutArgs& rArgs, sal_Int32 nCharPos OUString aRun(rArgs.mpStr); sal_Int32 nDone; sal_Int32 nGraphemeStartPos = - mxBreak->previousCharacters(aRun, nCharPos, aLocale, + mxBreak->previousCharacters(aRun, nCharPos+1, aLocale, i18n::CharacterIteratorMode::SKIPCELL, 1, nDone); sal_Int32 nGraphemeEndPos = mxBreak->nextCharacters(aRun, nCharPos, aLocale,
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits