Date: Monday, December 13, 2021 @ 11:31:49 Author: felixonmars Revision: 1071515
upgpkg: adobe-source-han-serif-fonts 2.000-1 Added: adobe-source-han-serif-fonts/trunk/44-source-han-serif-hk.conf Modified: adobe-source-han-serif-fonts/trunk/44-source-han-serif-otc.conf adobe-source-han-serif-fonts/trunk/44-source-han-serif-tw.conf adobe-source-han-serif-fonts/trunk/PKGBUILD ------------------------------+ 44-source-han-serif-hk.conf | 18 ++++++++++++++++++ 44-source-han-serif-otc.conf | 8 ++++++++ 44-source-han-serif-tw.conf | 2 +- PKGBUILD | 32 +++++++++++++++++++++++--------- 4 files changed, 50 insertions(+), 10 deletions(-) Added: 44-source-han-serif-hk.conf =================================================================== --- 44-source-han-serif-hk.conf (rev 0) +++ 44-source-han-serif-hk.conf 2021-12-13 11:31:49 UTC (rev 1071515) @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "../fonts.dtd"> +<fontconfig> + <!-- + - Medium variant is used instead of Regular on Qt apps: + https://bugs.launchpad.net/ubuntu-font-family/+bug/744812 + - Medium and Bold looks the same in certain applications: + https://bugs.launchpad.net/ubuntu/+source/gnome-specimen/+bug/813373 + --> + <match target="scan"> + <test name="fullname" compare="eq"> + <string>Source Han Serif HK Medium</string> + </test> + <edit name="weight" mode="assign"> + <const>demibold</const> + </edit> + </match> +</fontconfig> Modified: 44-source-han-serif-otc.conf =================================================================== --- 44-source-han-serif-otc.conf 2021-12-13 11:31:39 UTC (rev 1071514) +++ 44-source-han-serif-otc.conf 2021-12-13 11:31:49 UTC (rev 1071515) @@ -39,4 +39,12 @@ <const>demibold</const> </edit> </match> + <match target="scan"> + <test name="fullname" compare="eq"> + <string>Source Han Serif HC Medium</string> + </test> + <edit name="weight" mode="assign"> + <const>demibold</const> + </edit> + </match> </fontconfig> Modified: 44-source-han-serif-tw.conf =================================================================== --- 44-source-han-serif-tw.conf 2021-12-13 11:31:39 UTC (rev 1071514) +++ 44-source-han-serif-tw.conf 2021-12-13 11:31:49 UTC (rev 1071515) @@ -9,7 +9,7 @@ --> <match target="scan"> <test name="fullname" compare="eq"> - <string>Source Han Serif TWHK Medium</string> + <string>Source Han Serif TW Medium</string> </test> <edit name="weight" mode="assign"> <const>demibold</const> Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-12-13 11:31:39 UTC (rev 1071514) +++ PKGBUILD 2021-12-13 11:31:49 UTC (rev 1071515) @@ -27,9 +27,9 @@ _pkgbase=adobe-source-han-serif pkgbase=$_pkgbase-fonts -pkgname=($_pkgbase-jp-fonts $_pkgbase-kr-fonts $_pkgbase-cn-fonts $_pkgbase-tw-fonts $_pkgbase-otc-fonts) -pkgver=1.001 -pkgrel=5 +pkgname=($_pkgbase-jp-fonts $_pkgbase-kr-fonts $_pkgbase-cn-fonts $_pkgbase-tw-fonts $_pkgbase-hk-fonts $_pkgbase-otc-fonts) +pkgver=2.000 +pkgrel=1 pkgdesc='Adobe Source Han Serif - A set of Pan-CJK fonts designed to complement Source Serif Pro' arch=('any') license=('custom:SIL') @@ -39,13 +39,15 @@ 44-source-han-serif-kr.conf 44-source-han-serif-cn.conf 44-source-han-serif-tw.conf + 44-source-han-serif-hk.conf 44-source-han-serif-otc.conf) -sha512sums=('f393c02550e5724c074edaaf896fab2ac3473af165b39bbed718bdba9a3d42fffbecf28637287f3ecf958502dee18231b4e9b8f64d133001856e65aacf3290a9' +sha512sums=('1108b7eda50304a4e47518db3b35286f44cc24228c7c119a6000ab71ce50a12d860e30146c8ee92bce7d13048d9a5a1c901171041f9b5a5e309a3c61aa148e76' '2586f4bb85fe6c4089c65a4b972d5f543ac0459ca7160b7c23cb746720d59d7dcc81ec9eef762de34835fb8e40df65cee9c6ead628bd3bcb52544c517355a965' '21d8e6afcc537a1679e44e2438626202086ea766c7540ef3361b6c1a05e09870a37e0d3b1ad8300e66bc5c8138daf62b22f793089b37d1803279df2c31e6c2ff' '4ca2948c0801ba5f3a3955ff1d4fac1b08ab7c5c3eed8af8e73f71b488a80d2736318006859681c0ba5760048f5e89df700e46fc49710d02d43eafb5816e3db5' - 'd2046664196eb705564187e2452dbd8df1a0c4cd4289306f82621aa7bcd625f6cf3dcf2e16a88c2ee24f3c4c41cdc1677264393c0e110ecd2088668a42e4b723' - 'a180c15c87d5f3879c671c2d72adad97a431a94df2c958ba7d9eb60966111a4c342c174a700e07a3ffa32753f729a824d911c1e69e94436f57fcc77bb1743a0b') + '95748793fc2228d45cb745c8f331613a7eaa724495ffc367a15206f3a6b6874d4108ecd20b89172c6cbf2616f25c52b9ee5f9a93dd38a058a2097efa30caf93b' + 'c6570248ef0f3ae49f7b253d5d723d7de014a3fea8e5e443babe2d5ef84ad8005f7024cd6359c6d51caaf90fc08a9566505a2752e83c79c8bae8a7f4786f00b0' + '150ba43342a4ea0cf71cf6ccd9a2d7473fc017fe23cca9fbb87f5904ec647c5c8d9d440ce707f8ab8001efe9072ec7731030efc2ef81d0b8a2387e96a00e4a29') _jp=( SourceHanSerifJP-Bold.otf @@ -83,6 +85,15 @@ SourceHanSerifTW-SemiBold.otf SourceHanSerifTW-Regular.otf ) +_hk=( +SourceHanSerifHK-Bold.otf +SourceHanSerifHK-ExtraLight.otf +SourceHanSerifHK-Heavy.otf +SourceHanSerifHK-Light.otf +SourceHanSerifHK-Medium.otf +SourceHanSerifHK-SemiBold.otf +SourceHanSerifHK-Regular.otf +) _otc=( SourceHanSerif-Bold.ttc SourceHanSerif-ExtraLight.ttc @@ -116,9 +127,12 @@ fonts=(${_tw[@]}) cd SubsetOTF/TW _fontconfig_filename=44-source-han-serif-tw.conf - conflicts=("$_pkgbase-twhk-fonts") - replaces=("$_pkgbase-twhk-fonts") - pkgdesc="Adobe Source Han Serif Subset OTF - Traditional Chinese OpenType/CFF fonts";; + pkgdesc="Adobe Source Han Serif Subset OTF - Traditional Chinese (Taiwan) OpenType/CFF fonts";; + $_pkgbase-hk-fonts) + fonts=(${_hk[@]}) + cd SubsetOTF/HK + _fontconfig_filename=44-source-han-serif-hk.conf + pkgdesc="Adobe Source Han Serif Subset OTF - Traditional Chinese (Hong Kong) OpenType/CFF fonts";; $_pkgbase-otc-fonts) fonts=(${_otc[@]}) cd OTC
