x11-fonts/noto-serif-thai: Add noto-serif-thai 2.002

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 Thai.
This commit is contained in:
Po-Chuan Hsieh 2024-03-23 23:10:52 +08:00
parent 876c924045
commit 487c6a7f0b
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 80 additions and 0 deletions

View File

@ -246,6 +246,7 @@
SUBDIR += noto-serif-tamil
SUBDIR += noto-serif-tc
SUBDIR += noto-serif-telugu
SUBDIR += noto-serif-thai
SUBDIR += noto-tc
SUBDIR += nucleus
SUBDIR += office-code-pro

View File

@ -0,0 +1,28 @@
PORTNAME= noto
PORTVERSION= 2.002
CATEGORIES= x11-fonts
MASTER_SITES= https://github.com/notofonts/thai/releases/download/NotoSerifThai-v${PORTVERSION}/
PKGNAMESUFFIX= -serif-thai
DISTNAME= NotoSerifThai-v${PORTVERSION}
DIST_SUBDIR= Noto
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Google Noto Serif Thai
WWW= https://fonts.google.com/noto \
https://notofonts.github.io/ \
https://github.com/notofonts/thai
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}/NotoSerifThai/hinted/ttf/*.ttf ${STAGEDIR}${FONTSDIR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1710676127
SHA256 (Noto/NotoSerifThai-v2.002.zip) = 89e3c04bfc54d9a5dd0aec660bf974ad46df38385df7d9397c083482d515049a
SIZE (Noto/NotoSerifThai-v2.002.zip) = 5733486

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 Thai.

View File

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