x11-fonts/noto-sans-khmer: Add noto-sans-khmer 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 Sans Khmer.
This commit is contained in:
Po-Chuan Hsieh 2024-03-23 23:10:32 +08:00
parent bd8e9d759a
commit e85e2d8641
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
5 changed files with 80 additions and 0 deletions

View File

@ -208,6 +208,7 @@
SUBDIR += noto-sans-hebrew
SUBDIR += noto-sans-hk
SUBDIR += noto-sans-jp
SUBDIR += noto-sans-khmer
SUBDIR += noto-sans-kr
SUBDIR += noto-sans-sc
SUBDIR += noto-sans-tc

View File

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

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1710676079
SHA256 (Noto/NotoSansKhmer-v2.004.zip) = 19382ca97d62febea1c735ebee35a5aa4f03beca9b6ea6f6d86b7a7a0025a688
SIZE (Noto/NotoSansKhmer-v2.004.zip) = 8949267

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 Sans Khmer.

View File

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