xiaoyuleiba
xiaoyuleiba
您好. 现在字体册里的pingfang港澳简繁4个都不显示位置. 但是自己下的字体, 以及一些别的自带字体 (Courier New) 都还是有显示文件位置.
还有, 现在我的`/System/Library/Fonts`里是这样的, 可以作为一点参考. [fonts.log](https://github.com/user-attachments/files/17101397/fonts.log)
> 系统: MacOS 15.0 MacTeX: 2024版 > > [1.log](https://github.com/user-attachments/files/17098522/1.log) > > 复现最小例: > > ``` > \documentclass{ctexart} > \begin{document} > 1 > \end{document} > ``` > > 好像之前没这个问题, 现在直接调用了 `ctex-fontset-macold.def`...
刚刚的两个文件都是生成F. > 看起来在 macOS 15,苹方对应的字体名是 `PingFangUI.ttc`。 > > 根据 [https://gitlab.freedesktop.org/freetype/freetype/-/issues/1281](https://gitlab.freedesktop.org/freetype/freetype/-/issues/1281) ,它可能在 > > ``` > /System/Library/PrivateFrameworks/FontServices.framework/Versions/A/Resources/Reserved/PingFangUI.ttc > ``` > > 那就 `\documentclass[fontset=macnew]{ctexart}` 先用着吧。 谢谢. 不过他们咋想的往那里塞了,,,
不对, `\documentclass[fontset=macnew]{ctexart}`也还是报错 [macnew.log](https://github.com/user-attachments/files/17102289/macnew.log)
> 不对, `\documentclass[fontset=macnew]{ctexart}`也还是报错 > > [macnew.log](https://github.com/user-attachments/files/17102289/macnew.log) xelatex的log: [xelatex.log](https://github.com/user-attachments/files/17102293/xelatex.log)
xelatex用的不是new也不是old, 而是没有后缀的 [xelatex_No_Option.log](https://github.com/user-attachments/files/17102324/xelatex_No_Option.log)
> > xelatex用的不是new也不是old, 而是没有后缀的 > > [xelatex_No_Option.log](https://github.com/user-attachments/files/17102324/xelatex_No_Option.log) > > 还是 old,你看 195 行 > > ``` > % xelatex_No_Option.log, lines 190-196 > (/usr/local/texlive/2024/texmf-dist/tex/latex/ctex/fontset/ctex-fontset-mac.def > File: ctex-fontset-mac.def 2022/07/14 v2.5.10 macOS fonts...
> 根据 [ACT-02/PingFang-for-Windows@fff349b](https://github.com/ACT-02/PingFang-for-Windows/commit/fff349b9529cf7a349d8e3b609771e6b372bb07a) ,在 macOS 15 beta 1 时,PingFangUI.ttc 在 /System/Library/AssetsV2/com_apple_MobileAsset_Font7/PingFang.ttc。 把这个抓出来单独安装, 提示已安装. 用`sudo su -`都不让往`/System/Library/Fonts`里塞东西了,,, 让macos13的朋友给我拷了一个`PingFang.tcc`, 直接提示 `不包含可安装在macos的字体`.
> > 把这个抓出来单独安装, 提示已安装. 用`sudo su -`都不让往`/System/Library/Fonts`里塞东西了,,, 让macos13的朋友给我拷了一个`PingFang.tcc`, 直接提示 `不包含可安装在macos的字体`. > > 可能要先[关闭 SIP](https://sspai.com/post/55066)? 这下貌似有点难度了