nju-lug / NJUThesis

南京大学学位论文模板
https://ctan.org/pkg/njuthesis
LaTeX Project Public License v1.3c
452 stars 62 forks source link

[Bug]: LuaLaTeX未能检测到某些字型 #5

Open atxy-blip opened 3 years ago

atxy-blip commented 3 years ago

在macOS找不到KaitiSC。

Font shape `LTJY3/SimHei(0)/b/n' undefined
(Font)  using `LTJY3/SimHei(0)/m/n' instead.
Font shape `LTJY3/SimSun(0)/m/sc' undefined
(Font)  using `LTJY3/SimSun(0)/m/n' instead.
Font shape `LTJY3/FangSong(0)/b/n' undefined
(Font)  using `LTJY3/FangSong(0)/m/n' instead.
glatavento commented 3 years ago

https://github.com/nju-lug/NJUThesisUndergraduate/pull/11 应该可以修好这个,但是我没有mac

Minaduki-Shigure commented 3 years ago

似乎并没有修好(

huipengcheng commented 2 years ago

网上搜了搜,似乎是 macos 的问题,macos 升级后很多字体都被移动了,luaotfload-tool 还会去以前的路径找。

Monterey 下执行 sudo tlmgr conf texmf OSFONTDIR /System/Library/AssetsV2/com_apple_MobileAsset_Font7 可以解决

dreistein543 commented 1 year ago

网上搜了搜,似乎是 macos 的问题,macos 升级后很多字体都被移动了,luaotfload-tool 还会去以前的路径找。

Monterey 下执行 sudo tlmgr conf texmf OSFONTDIR /System/Library/AssetsV2/com_apple_MobileAsset_Font7 可以解决

尝试了一下,似乎并不能解决,当然也可能是我又升级了macOS,导致字体再度异动。希望这次执行的命令不要影响到下次更新解决