svtools/source/misc/sampletext.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 547bfbdbdaaa3b44f76952275bf87453f7c8293a
Author:     Khaled Hosny <kha...@libreoffice.org>
AuthorDate: Sun May 28 13:06:42 2023 +0300
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue May 30 16:03:18 2023 +0200

    tdf#154547: Improve Hebrew font preview sample text
    
    The Hebrew font preview sample text include Nikkud (vowel marks) which
    are optional for modern Hebrew and not all Hebrew fonts have them, and
    for fonts lacking them we use a much shorter preview text.
    
    The inclusion of Nikkud is unnecessary and we don’t include vowel marks
    in many other scripts (e.g. Arabic where they are more used).
    
    This patch drop the Nikkud marks and leaves the sample text otherwise
    unchanged.
    
    Change-Id: Ie4e5abcd74599d25db41c4cdf7e1d3bf997a998c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152350
    Tested-by: Jenkins
    Reviewed-by: خالد حسني <kha...@libreoffice.org>
    (cherry picked from commit da09513ae6221f46ee453943b3669d1d922a4aa3)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152319
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/svtools/source/misc/sampletext.cxx 
b/svtools/source/misc/sampletext.cxx
index abcfde92b7a1..9000f6f73d6c 100644
--- a/svtools/source/misc/sampletext.cxx
+++ b/svtools/source/misc/sampletext.cxx
@@ -232,9 +232,8 @@ OUString makeShortRepresentativeTextForScript(UScriptCode 
eScript)
         case USCRIPT_HEBREW:
         {
             static constexpr OUStringLiteral aHebr =
-                u"\u05D0\u05B8\u05DC\u05B6\u05E3\u05BE\u05D1\u05B5"
-                "\u05BC\u05D9\u05EA \u05E2\u05B4\u05D1\u05B0"
-                "\u05E8\u05B4\u05D9";
+                u"\u05D0\u05DC\u05E3\u05BE\u05D1\u05D9\u05EA "
+                "\u05E2\u05D1\u05E8\u05D9";
             sSampleText = aHebr;
             break;
         }

Reply via email to