SYSU-SCC / sysu-thesis

中山大学 LaTeX 论文项目模板
GNU General Public License v3.0
558 stars 71 forks source link

ctex-fontset-adobe2.def 中的错误 #61

Closed ddddavid-he closed 1 year ago

ddddavid-he commented 1 year ago

根据模板说明,如需使用自行下载的adobe字体需要使用ctex-fontset-adobe2.def文件定义字体,经过尝试发现该文件字体设置有缺陷,说明如下:

文件中通过此定义了\songti对应的字体:

\setCJKfamilyfont { zhsong } { AdobeSongStd-Light.otf }[
    Path = ./fonts/,
]

并在论文封面标题、章节标题使用 \songti\textbf{<content>} 指定格式,但是\songti对应的 zhsong 并未指定Bold样式,会导致加粗失败。

建议修改 zhsong定义与\setCJKmainfont相同,使之能正常进行加粗。即:

\setCJKmainfont  { AdobeSongStd-Light.otf }[
    Path=./fonts/,
    BoldFont   = AdobeHeitiStd-Regular.otf,
    ItalicFont = AdobeKaitiStd-Regular.otf
]
xuantengh commented 1 year ago

Would you mind opening a PR?

ddddavid-he commented 1 year ago

Pull Request submitted