Skip to content

Commit

Permalink
Fix font path of MS Word on mac (resolve #913)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Jan 31, 2024
1 parent 93a582f commit fedf6da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- 封面的学科门类的字号改为三号(16bp),同步《指南》2023 年 3 月版的更改([#899](https://github.com/tuna/thuthesis/issues/899))。
- 统一并简化封面的布局([#900](https://github.com/tuna/thuthesis/issues/900))。
- 英文封面的导师姓名居中对齐([#883](https://github.com/tuna/thuthesis/issues/883))。
- 修正 macOS 的 MS Office 字体名([#913](https://github.com/tuna/thuthesis/issues/913))。

### Fixed

Expand Down
4 changes: 2 additions & 2 deletions thuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2251,7 +2251,7 @@
\IfFontExistsTF{SimSun}{
\thusetup{fontset = windows}
}{
\IfFileExists{\thu@mac@word@font@path/SimSun.ttf}{
\IfFileExists{\thu@mac@word@font@path/SimSun.ttc}{
\thusetup{fontset = windows}
}{
\ifthu@system@mac
Expand Down Expand Up @@ -2545,7 +2545,7 @@
\IfFontExistsTF{SimSun}{
\thusetup{cjk-font = windows}
}{
\IfFileExists{\thu@mac@word@font@path/SimSun.ttf}{
\IfFileExists{\thu@mac@word@font@path/SimSun.ttc}{
\thusetup{cjk-font = mac-word}
}{
\thu@error{Cannot find "SimSun" font}
Expand Down

0 comments on commit fedf6da

Please sign in to comment.