Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctex: 为 macnew 增加 \lishu 的定义 #360

Closed
Liam0205 opened this issue May 3, 2018 · 6 comments
Closed

ctex: 为 macnew 增加 \lishu 的定义 #360

Liam0205 opened this issue May 3, 2018 · 6 comments
Assignees

Comments

@Liam0205
Copy link
Contributor

Liam0205 commented May 3, 2018

@zepinglee#351 (comment) 的建议,考虑将 macOS 下的 Baoli SC 作为 \lishu 的定义加入 macnew 字库配置中。

@Liam0205 Liam0205 self-assigned this May 3, 2018
@Liam0205
Copy link
Contributor Author

Liam0205 commented May 3, 2018

新建一 Wiki:macOS/OS X/Mac OS X 各版本预装字体列表

@Liam0205
Copy link
Contributor Author

Liam0205 commented May 3, 2018

目前 macnew 以 Yosemite 和 El Capitan 为分界线。目前看到的资料,Baoli SC 在 Mavericks 中加入默认字体库(版本 8.0d1e1)。因此在 macnew 中加入 Baoli SC 在这个意义上是没问题的。

Baoli SC 在 Sierra 和 High Sierra 上的版本分别是 12.0d3e2 和 13.0d3e1。

此外,Baoli SC 虽然是 Baoli.ttc,但是字重只有 Regular 一个。这里应注意,做个记录。

@Liam0205
Copy link
Contributor Author

Liam0205 commented May 3, 2018

根据极限社区的讨论,目前在 High Sierra 当中,Baoli SC 是附加字体——需要额外下载,并不是默认包含的字体。

这可能会有问题:

  1. 如果检测文件存在性,则结果不准确;
  2. 若用户没有预先装好 Baoli SC,使用 TeX 调用会报错(而不是触发预装)。

待解决。

@Liam0205 Liam0205 changed the title ctex: 为 macnew 增加 \lishu 的定义 ctex: 为 macnew 增加 \lishu 的定义 May 3, 2018
@zepinglee
Copy link
Member

这就奇怪了,我的 High Sierra 一装好就是带 Baoli SC 的……

另外按照 https://support.apple.com/en-us/HT207962 的说法,Kaiti SC Regular 都是在“Fonts available for download”一类的,这就有点让人搞不懂了

如果有这么多问题的话,我觉得那就不要配置 mac 的 \lishu 了,用户自己需要时自己去调用就好。

还有我一直没找到 Baoli.ttc 的位置在哪里

@Liam0205
Copy link
Contributor Author

Liam0205 commented May 5, 2018

@zepinglee

/
$ find . 2>/dev/null | grep -i baoli | grep -i font
./System/Library/Assets/com_apple_MobileAsset_Font3/3abf40766b4cf50b77ebd28e6affbd1849ea61c6.asset/AssetData/Baoli.ttc
./System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/FontInfo/Baoli.ttc.194C4_0.ATSD
./System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/FontInfo/Baoli.ttc.194C4_0.fontinfo
./System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/FontInfo/Baoli.ttc.284E570_0.ATSD
./System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/FontInfo/Baoli.ttc.284E570_0.fontinfo
./System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Support/FontSubsets/Baoli.ttc

@Liam0205
Copy link
Contributor Author

Liam0205 commented May 5, 2018

看起来 Baoli SC 并不适合选进来做字体,所以这个计划还是放弃比较好= =

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants