Date: Sunday, November 11, 2018 @ 09:16:15 Author: arojas Revision: 339271
Add zh-hk language support Modified: noto-fonts-cjk/trunk/70-noto-cjk.conf noto-fonts-cjk/trunk/PKGBUILD ------------------+ 70-noto-cjk.conf | 36 ++++++++++++++++++++++++++++++++++++ PKGBUILD | 4 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) Modified: 70-noto-cjk.conf =================================================================== --- 70-noto-cjk.conf 2018-11-11 06:43:01 UTC (rev 339270) +++ 70-noto-cjk.conf 2018-11-11 09:16:15 UTC (rev 339271) @@ -51,6 +51,18 @@ <match target="pattern"> <test name="lang"> + <string>zh-hk</string> + </test> + <test name="family"> + <string>serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Serif CJK TC</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> <string>ja</string> </test> <test name="family"> @@ -99,6 +111,18 @@ <match target="pattern"> <test name="lang"> + <string>zh-hk</string> + </test> + <test name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans CJK TC</string> + </edit> + </match> + + <match target="pattern"> + <test name="lang"> <string>ja</string> </test> <test name="family"> @@ -144,4 +168,16 @@ <string>Noto Sans Mono CJK TC</string> </edit> </match> + + <match target="pattern"> + <test name="lang"> + <string>zh-hk</string> + </test> + <test name="family"> + <string>monospace</string> + </test> + <edit name="family" mode="prepend"> + <string>Noto Sans Mono CJK TC</string> + </edit> + </match> </fontconfig> Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-11-11 06:43:01 UTC (rev 339270) +++ PKGBUILD 2018-11-11 09:16:15 UTC (rev 339271) @@ -3,7 +3,7 @@ pkgname=noto-fonts-cjk pkgver=20170601 _commit=32a5844539f2e348ed36b44e990f9b06d7fb89fe -pkgrel=2 +pkgrel=3 pkgdesc="Google Noto CJK fonts" arch=(any) url="https://www.google.com/get/noto/" @@ -10,7 +10,7 @@ license=(custom:SIL) source=($pkgname-$pkgver.zip::"https://github.com/googlei18n/noto-cjk/archive/$_commit.zip" 70-noto-cjk.conf) sha256sums=('31e53af3f5e97ae021f24f960608e98f64aaa12804eda7fb583dcfaa8d496ebf' - '5a5fa764efaca13a326998499d026b89e22217c12011074bf301ef8aa4a9bb37') + 'f83b652cabe6e95489f2f70e44f5288216d33a6132f24e8d074d6eee4e3d700b') package() { install -Dm644 noto-cjk-*/*.ttc -t "$pkgdir"/usr/share/fonts/noto-cjk