x11-fonts/noto-serif-devanagari: Add noto-serif-devanagari 2.004

When text is rendered by a computer, sometimes characters are displayed as
"tofu". They are little boxes to indicate your device doesn't have a font to
display the text.

Google has been developing a font family called Noto, which aims to support all
languages with a harmonious look and feel. Noto is Google's answer to tofu. The
name noto is to convey the idea that Google's goal is to see no more "tofu".
Noto has multiple styles and weights, and is freely available to all. The
comprehensive set of fonts and tools used in our development is available in our
GitHub repositories.

This port provides the fonts set of Noto Serif Devanagari.
This commit is contained in:
Po-Chuan Hsieh 2024-03-23 23:10:44 +08:00
parent fed78a6f5e
commit 8b678d4a63
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 80 additions and 0 deletions

View File

@ -229,6 +229,7 @@
SUBDIR += noto-serif-armenian
SUBDIR += noto-serif-basic
SUBDIR += noto-serif-bengali
SUBDIR += noto-serif-devanagari
SUBDIR += noto-serif-hk
SUBDIR += noto-serif-jp
SUBDIR += noto-serif-kr

View File

@ -0,0 +1,28 @@
PORTNAME= noto
PORTVERSION= 2.004
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/notofonts/devanagari/releases/download/NotoSerifDevanagari-v${PORTVERSION}/
PKGNAMESUFFIX= -serif-devanagari
DISTNAME= NotoSerifDevanagari-v${PORTVERSION}
DIST_SUBDIR= Noto
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Serif Devanagari
WWW= https://fonts.google.com/noto \
https://notofonts.github.io/ \
https://github.com/notofonts/devanagari
LICENSE= OFL11
#LICENSE_FILE= ${WRKSRC}/OFL.txt
USES= fonts zip
NO_ARCH= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
do-install:
${MKDIR} ${STAGEDIR}${FONTSDIR}
${INSTALL_DATA} ${WRKSRC}/NotoSerifDevanagari/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1710676105
SHA256 (Noto/NotoSerifDevanagari-v2.004.zip) = a4d70597e72911f6c67b21ab33dee0b1a7ec39c35f19580094b7d6cab998b4b0
SIZE (Noto/NotoSerifDevanagari-v2.004.zip) = 21556434

View File

@ -0,0 +1,12 @@
When text is rendered by a computer, sometimes characters are displayed as
"tofu". They are little boxes to indicate your device doesn't have a font to
display the text.
Google has been developing a font family called Noto, which aims to support all
languages with a harmonious look and feel. Noto is Google's answer to tofu. The
name noto is to convey the idea that Google's goal is to see no more "tofu".
Noto has multiple styles and weights, and is freely available to all. The
comprehensive set of fonts and tools used in our development is available in our
GitHub repositories.
This port provides the fonts set of Noto Serif Devanagari.

View File

@ -0,0 +1,36 @@
%%FONTSDIR%%/NotoSerifDevanagari-Black.ttf
%%FONTSDIR%%/NotoSerifDevanagari-Bold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-Condensed.ttf
%%FONTSDIR%%/NotoSerifDevanagari-CondensedBlack.ttf
%%FONTSDIR%%/NotoSerifDevanagari-CondensedBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-CondensedExtraBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-CondensedExtraLight.ttf
%%FONTSDIR%%/NotoSerifDevanagari-CondensedLight.ttf
%%FONTSDIR%%/NotoSerifDevanagari-CondensedMedium.ttf
%%FONTSDIR%%/NotoSerifDevanagari-CondensedSemiBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-CondensedThin.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensed.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedBlack.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedExtraBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedExtraLight.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedLight.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedMedium.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedSemiBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraCondensedThin.ttf
%%FONTSDIR%%/NotoSerifDevanagari-ExtraLight.ttf
%%FONTSDIR%%/NotoSerifDevanagari-Light.ttf
%%FONTSDIR%%/NotoSerifDevanagari-Medium.ttf
%%FONTSDIR%%/NotoSerifDevanagari-Regular.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensed.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedBlack.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedExtraBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedExtraLight.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedLight.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedMedium.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedSemiBold.ttf
%%FONTSDIR%%/NotoSerifDevanagari-SemiCondensedThin.ttf
%%FONTSDIR%%/NotoSerifDevanagari-Thin.ttf