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

如何修改字体 #30

Closed
shuangshuangguo opened this issue Jul 6, 2018 · 2 comments
Closed

如何修改字体 #30

shuangshuangguo opened this issue Jul 6, 2018 · 2 comments

Comments

@shuangshuangguo
Copy link

您好!我修改您的中文模板后,直接生成的好像是宋体,我想将默认字体改成楷体,请问我该怎么做呢?非常感谢!

@billryan
Copy link
Owner

billryan commented Jul 7, 2018

我假设你用的是 Adobe external 这一套字体,

https://github.com/billryan/resume/blob/zh_CN/zh_CN-Adobefonts_external.sty#L13

\setCJKmainfont[
BoldFont=AdobeHeitiStd-Regular.otf,
ItalicFont=AdobeKaitiStd-Regular.otf,
SmallCapsFont=AdobeHeitiStd-Regular.otf
]{AdobeSongStd-Light.otf}
\setCJKsansfont{AdobeHeitiStd-Regular.otf}
\setCJKmonofont{AdobeFangsongStd-Regular.otf}

中 AdobeSongStd-Light.otf 改为 AdobeKaitiStd-Regular.otf

@shuangshuangguo
Copy link
Author

非常感谢!问题已经解决啦

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