diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-05-28 13:06:42 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-06-04 16:34:08 +0200 |
commit | 19926177aae92c6e69aa00bd078f8a59999f3042 (patch) | |
tree | 01944ff22ee9275d16b2729686634af633f0f5f9 | |
parent | 40790eddcdbc5e2cf5b897618a5dab091dfa7762 (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>
(cherry picked from commit da09513ae6221f46ee453943b3669d1d922a4aa3)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152319
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r-- | svtools/source/misc/sampletext.cxx | 5 |
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; } |