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

mactex 不显示字体 #157

Closed
zoushucai opened this issue Oct 18, 2020 · 3 comments
Closed

mactex 不显示字体 #157

zoushucai opened this issue Oct 18, 2020 · 3 comments
Labels
Editor & IDE Related to Editors & IDEs Fonts

Comments

@zoushucai
Copy link

\documentclass{article}
\usepackage[LoadFandol=false]{xeCJK}

\setCJKmainfont{FandolFang-Regular.otf}[
BoldFont       = FandolHei-Regular.otf,
ItalicFont     = FandolSong-Regular.otf,
BoldItalicFont = FandolKai-Regular.otf,
]

\begin{document}
	我们要\textit{强调}一下!\par
	\textbf{我们要\textit{强调}一下!}
\end{document}

字体链接:
FandolFang-Regular

FandolHei-Regular

FandolKai-Regular

FandolSong-Regular

尝试运行上面代码(字体已放到当前目录中), mactex 2020+ texstudio 不能正确显示中文, 但是编译正常运行,且可以显示字体。 overleaf测试没有问题
请问,则是什么原因?
QQ20201018-151228

@zepinglee
Copy link
Member

无法复现

@zoushucai
Copy link
Author

zoushucai commented Oct 18, 2020

@zepinglee 已更新字体链接,下载下来以后,您把前面的日期去掉即可。谢谢

@muzimuzhi
Copy link
Collaborator

muzimuzhi commented Oct 18, 2020

这是 texstudio 在 macOS 下的问题,在命令行下依次执行

brew install poppler # 需要安装 homebrew
ln -s /usr/local/Cellar/poppler/20.* /usr/local/Cellar/poppler/0.84.0-texworks

然后重启 texsdutio,问题解决。

更多信息,见《一个texstudio的小问题:文字无法显示》。

@muzimuzhi muzimuzhi transferred this issue from CTeX-org/ctex-kit Oct 18, 2020
@muzimuzhi muzimuzhi added Editor & IDE Related to Editors & IDEs Fonts labels Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Editor & IDE Related to Editors & IDEs Fonts
Projects
None yet
Development

No branches or pull requests

3 participants