Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2021-02-05 06:34:15 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2021-03-01 21:15:01 +0300
commitee0678002994a9e9a29b6483bb2b55f0f6f205be (patch)
tree3a858b68547ffb7f623c6f704901c865637d2cf3 /tests/data
parent148cc83c52aae2795a10c80ee9696522b49b4329 (diff)
Include additional scripts in Noto fonts
Generated avatars as well as text file previews are rendered using the "core/fonts/NotoSans-Regular.ttf" font. The file was the standard hinted "NotoSans-Regular.ttf" file from https://www.google.com/get/noto/. However that file does not cover some non LGC (Latin, Greek, Cyrillic) scripts, like Arabic, Devanagari or Hebrew, to name a few. Markdown file previews also use "core/fonts/NotoSans-Bold.ttf", which is in the same situation as the regular one. Due to limitations in the TTF format it is not possible to provide a single file for each style that includes all Noto fonts. However, it is possible to add more scripts to the standard "NotoSans-Regular.ttf" and "NotoSans-Bold.ttf" files (although no CJK (Chinese, Japanese, Korean) glyph can be included due to the aforementioned limitations). This commit replaces the standard files with an extended version created using the Noto Tools. The build script (as well as a patch for the Noto Tools) is also included for reference and to be able to update the font files in the future if needed. Due to the additional scripts added the font files are now much larger, although this does not seem to increase the time spent rendering LGC scripts. Note that the file for the bold style still contains less scripts than the regular one, as not all scripts supported by Noto have a bold weight. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/guest_avatar_einstein_32.pngbin244 -> 269 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/data/guest_avatar_einstein_32.png b/tests/data/guest_avatar_einstein_32.png
index e23a4071557..f83b46623d6 100644
--- a/tests/data/guest_avatar_einstein_32.png
+++ b/tests/data/guest_avatar_einstein_32.png
Binary files differ