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

学长,请问为什么把字体加进项目文件后,还是无法显示华文中宋字体啊。 #4

Closed
nonholonomic opened this issue Apr 18, 2022 · 7 comments

Comments

@nonholonomic
Copy link

Describe the bug
A clear and concise description of what the bug is.

Minimum Working Example
A minimum example code that can reproduce the behavior.
The overall code should generally not exceed 10 lines.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • OS: [e.g. Windows 10, macOS Catalina]
  • TeX Distribution [e.g. TeX Live 2019, MiKTeX 2.9.7152, Overleaf]
  • Application(s) [xelatex, latexmk, biber]
  • Editor [e.g. Texmaker, WinEdt]

Additional context
Add any other context about the problem here.

@nonholonomic nonholonomic added the bug Something isn't working label Apr 18, 2022
@huangyxi
Copy link
Owner

如果需要在缺省华文中宋的环境下使用该字体,请在获取字体版权方授权的前提下,将字体命名为STZhongsong.ttf,并放置在项目根目录(./)。

本人目前在Windows 11,TeX Live 2022使用xelatex编译能够正常显示华文中宋字体,在Adobe Acrobat下也能正常回报字体名,不太清楚阁下那边使用的是哪个LaTeX的平台。
如果不清楚需要提交哪些信息,可以修改按照issue提交模板修改,也就是阁下发的信息
另外要注意,根据2020年的要求(也就是本人自己实际使用模板那年的要求),只有封面的字体为华文中宋,如果要求有更新可以另外提出来。

@nonholonomic
Copy link
Author

nonholonomic commented Apr 19, 2022 via email

@huangyxi
Copy link
Owner

虽然系统版本原因的可能性极小,而且在系统升级前我也能正常输出华文中宋字体,不过由于我手边没有Windows 10的设备,当然也不能排除这个原因。
但是我还是希望阁下能提供更多能复现该问题的信息,也就是issue提交模板即阁下发的信息中推荐提交的6个部分。
关键是阁下是从clone或下载,到输出最终文件一共经过了哪些(关键)操作,例如是否有按照README文件回复引用提及的重命名字体文件名,修改了源文件哪些代码,最小能复现问题的代码(Minimum Working Example,MWE)等等。

@nonholonomic
Copy link
Author

nonholonomic commented Apr 19, 2022 via email

@huangyxi
Copy link
Owner

阁下是如何通过什么软件(或人眼)判定封面上的部分字体不是华文中宋的呢?

@nonholonomic
Copy link
Author

nonholonomic commented Apr 19, 2022 via email

@huangyxi
Copy link
Owner

第二个字体是哪个字体?在哪里的字体?可以截个图吗?我在第一个回复已经提及了其中一种软件检查字体的方法,如果阁下不方便,也可以通过搜索引擎查询其他的使用软件检查PDF文件中字体的方法。

另外推荐学习一下提问的智慧

@huangyxi huangyxi removed the bug Something isn't working label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants