summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-05-28 13:06:42 +0300
committerخالد حسني <khaled@libreoffice.org>2023-05-28 13:07:46 +0200
commitda09513ae6221f46ee453943b3669d1d922a4aa3 (patch)
tree95a2ecba1b78e7d94d31cdb03b49171406f5d3a5 /svtools
parentf068ec681775772e3acc1ecbd8be7a17124e70f4 (diff)
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: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/sampletext.cxx5
1 files changed, 2 insertions, 3 deletions
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;
}