Noto: bump version

This version looks quite bad if you are using greyscale antialiasing +
hinting on small font sizes (the hinting is too strong). But it looks
better with the LCD subpixel mode (or at larger font sizes where the
hinting isn't that strong probably).

I guess this will help avoiding the consequences of #15007.
This commit is contained in:
Adrien Destugues
2020-12-09 21:21:34 +01:00
parent 7dc95c6547
commit a9565f5f71

View File

@@ -0,0 +1,104 @@
SUMMARY="The Noto font"
DESCRIPTION="The Noto fonts have superseded the Droid fonts, which were \
originally designed for the use in Google's Android. Noto's aim is to be a \
free for everyone, with beautiful glyphs for all languages, looking good \
especially when multiple styles and weights and even languages are mixed on \
a page.
This package contains the 'sans-serif' and 'serif' typefaces in various \
styles for the latin, cyrillic and thai alphabets, as well as a 'monospaced' \
version. Also included is an unhinted 'symbols' font."
SUMMARY_chroscore="The Noto font (Chrome OS core font)"
DESCRIPTION_chroscore="The Noto fonts have superseded the Droid fonts, which \
were originally designed for the use in Google's Android. Noto's aim is to be \
a free for everyone, with beautiful glyphs for all languages, looking good \
especially when multiple styles and weights and even languages are mixed on \
a page.
This package contains the Chrome OS core fonts: Arimo and Cousine have a \
'sans-serif' typeface, Tinos is a 'serif' font."
SUMMARY_condensed="The Noto font (condensed variants)"
DESCRIPTION_condensed="The Noto fonts have superseded the Droid fonts, which \
were originally designed for the use in Google's Android. Noto's aim is to be \
a free for everyone, with beautiful glyphs for all languages, looking good \
especially when multiple styles and weights and even languages are mixed on \
a page.
This package contains the condensed variants of the core Noto fonts."
SUMMARY_regional="The Noto font (special language/region version)"
DESCRIPTION_regional="The Noto fonts have superseded the Droid fonts, \
which were originally designed for the use in Google's Android. \
Noto's aim is to be a free for everyone, \
with beautiful glyphs for all languages, looking good \
especially when multiple styles and weights and even languages are mixed on \
a page.
This package contains the Noto fonts ('sans-serif' and where applicable \
'serif') for:
Arabic, Armenian
Bengali
Cham
Devanagari
Ethiopic
Georgian, Gujarati, Gurmukhi
Hebrew, Hindi
Kannada, Khmer
Lao
Malayalam, Myanmar
Oriya
Sinhala
Tamil, Telugu, Thaana, Tibetan"
HOMEPAGE="https://www.google.com/get/noto/"
COPYRIGHT="2015-2020 Google Inc.
2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/)"
LICENSE="SIL Open Font License v1.1"
REVISION="1"
SOURCE_URI="https://github.com/googlefonts/noto-fonts/archive/v20201206-phase3.tar.gz"
SOURCE_DIR="noto-fonts-20201206-phase3"
CHECKSUM_SHA256="18a513b6cfb99209d9ffe88f31659a514845e34ee8e7a0b534e37aa19e2c4270"
ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE=yes
PROVIDES="
noto = $portVersion
"
PROVIDES_chroscore="
noto_chroscore = $portVersion
"
PROVIDES_condensed="
noto_condensed = $portVersion
"
PROVIDES_regional="
noto_regional = $portVersion
"
# Enable bash extended globbing to more easily exclude non-regional fonts from
# the regional package.
shopt -s extglob
INSTALL()
{
FONTDIR=$fontsDir/ttfonts
mkdir -p ${FONTDIR}
cp hinted/ttf/!(*UI)/*.ttf ${FONTDIR}
packageEntries chroscore \
${FONTDIR}/Arimo*.ttf \
${FONTDIR}/Cousine*.ttf \
${FONTDIR}/Tinos*.ttf
packageEntries condensed \
${FONTDIR}/*Condensed*.ttf
packageEntries regional \
${FONTDIR}/Noto!(*Display*.ttf|Sans-*.ttf|SansMono-*.ttf|Serif-*.ttf|*Symbols*.ttf|SansThai-*.ttf|SerifThai-*.ttf)
}