Daniel Calviño Sánchez
ee06780029
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> |
3 years ago | |
---|---|---|
.. | ||
Core | Merge pull request #25086 from nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0 | 3 years ago |
Test/Repair/Owncloud | Readd repair steps that are relevant when migrating from ownCloud | 3 years ago |
acceptance | Add "composer.lock" for acceptance tests to git | 3 years ago |
apps | Validate the info.xml against the appstore schema file | 6 years ago |
data | Include additional scripts in Noto fonts | 3 years ago |
docker | Use the short array syntax, everywhere | 4 years ago |
lib | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 | 3 years ago |
objectstore | make object prefix configurable | 7 years ago |
travis | Changed name of default logfile from owncloud.log to nextcloud.log. | 8 years ago |
apps.php | Format control structures, classes, methods and function | 4 years ago |
bootstrap.php | Use a blank line after the opening tag | 4 years ago |
drone-run-integration-tests.sh | Also run for .sh and .json (when not package or package-lock) | 3 years ago |
drone-run-php-tests.sh | Also run for .sh and .json (when not package or package-lock) | 3 years ago |
drone-wait-objectstore.sh | Kill objectstore CI if we can't create a file | 6 years ago |
enable_all.php | Add tests | 6 years ago |
karma.config.js | jsunit: Remove warnings during test runs | 3 years ago |
phpunit-autotest-external.xml | Adjust the phpunit config | 8 years ago |
phpunit-autotest.xml | Exclude apps/files_external/3rdparty again | 3 years ago |
preseed-config.php | Format code to a single space around binary operators | 3 years ago |
redis-cluster.config.php | Fix drone | 7 years ago |
redis.config.php | Fix drone | 7 years ago |
startsessionlistener.php | Format control structures, classes, methods and function | 4 years ago |