您好! 在 2021/12/23 02:07, Shengjing Zhu 写道:
debian 目录不是用来放数据的。。 + fonts-lxgw-wenkai_1.111.orig.tar.gz 10M + fonts-lxgw-wenkai_1.111-1.debian.tar.xz 49M 这个文件大小已经失调了。。
这个问题确实存在,谢谢!字体文件比较大,上游单独使用 release 页面提供下载,我是手工使用脚本将这些字体文件下载到 debian 目录下,
这样确实造成了 *debian.tar.xz 文件过大。 我之前也向上游反馈过,希望能够把字体的 ttf 文件放到 github 仓库里面[1], 但是上游答复,接下来还是会继续放在 release 页面提供下载[2]。上游也是采纳了其它用户的意见,中文字体文件一般比较大一些,放在 git 里面直接提交,会造成 git 仓库比较大,操作耗时。
我把字体放在 debian 目录之前,也有看到目前已经在 Debian 的字体软件包, 将部分字体 ttf 文件放置在 debian 目录下 [3]。 将字体 ttf 文件,放入到 *orig.tar.gz 文件,需要手工重新再打包一下。 我待会按照 developers-reference 重新打包[4]上传一个到 mentor.d.n.
另外我不会sponsor这个字体,因为很难说服自己,上游放在GitHub release页面的ttf文件是源文件(preferred form of modification)。。。看其他DD仁者见仁吧。。
关于中文字体的源代码问题,我也和上游在沟通 [5],目前看来有点困难。中文字体的制作,需要用到一些工具,该字体目前无法完全用命令或者脚本,使用自动化的方式构建生成 ttf 字体文件。
目前 Debian 里面的部分字体软件包,也有没有完全提供字体源代码的情况,比如 fonts-noto-cjk 字体 [6],
我觉得还是看 OFL 1.1 协议吧,这个 Debian 的 DFSG 是认可的。
-- Shengjing Zhu
[1] https://github.com/lxgw/LxgwWenKai/issues/27#issuecomment-884825054 [2] https://github.com/lxgw/LxgwWenKai/issues/4 [3] https://sources.debian.org/src/fonts-noto/20201225-1/debian/NotoMono/[4] https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.en.html#changing-binary-files
[5] https://github.com/lxgw/LxgwWenKai/issues/42 [6] https://sources.debian.org/src/fonts-noto-cjk/1:20201206-cjk+repack1-1/ 谢谢! 此致! -- 肖盛文 xiao sheng wen Faris Xiao 微信(wechat):atzlinux 《铜豌豆 Linux》https://www.atzlinux.com 基于 Debian 的 Linux 中文 桌面 操作系统 Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com GnuPG Public Key: 0x00186602339240CB
Attachment:
OpenPGP_0x00186602339240CB.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature