Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Calviño Sánchez 6997e6f755 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>
2021-03-22 20:09:42 +00:00
Jan-Christoph Borchardt d14c0f2ed7
Move font from Nunito to Noto Sans
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-22 11:23:44 +02:00
Jan-Christoph Borchardt c57c9f42b2
Add woff2 format of Nunito for better performance in modern browsers
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-19 20:19:34 +02:00
Jan-Christoph Borchardt 9d05347fba
Change typeface from Open Sans to Nunito
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-19 12:04:19 +02:00
Jan-Christoph Borchardt d9387add9e
Move fonts from light/semibold to regular/bold for better readability
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-19 12:04:19 +02:00
John Molakvoæ (skjnldsv) b2c21dbb14
OpenSans font contrast option
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-06-25 17:12:27 +02:00
Roeland Jago Douma 6721774102
Add TTF of OpenSand-{Ligh,Semibold}
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-02-19 12:34:49 +01:00
Jan-Christoph Borchardt 83c177fc1b move font back from Light to Regular for body text on normal-res screens, fix #18954 2015-11-10 16:12:42 +01:00
Jan-Christoph Borchardt 79567dcbc0 move fonts from Regular+Bold to Light+Semibold for lighter feel 2015-08-25 16:13:05 +02:00
Georg Ehrke e047e28ac5 make text preview backend use imagettftext, fixes #8087 2014-06-10 17:29:40 +02:00
Morris Jobke d1176f546a move from tff to woff and fix IE8 2014-06-04 10:58:52 +02:00
Jan-Christoph Borchardt 80627dfd2c use Open Sans as typeface 2014-06-03 19:07:08 +02:00