Skip to content

Commit

Permalink
Fix the case of SimSun font file
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Feb 6, 2024
1 parent 6324127 commit 11bf0d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions thuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2251,8 +2251,8 @@
\IfFontExistsTF{SimSun}{
\thusetup{fontset = windows}
}{
\IfFileExists{\thu@mac@word@font@path/SimSun.ttc}{
\thusetup{fontset = windows}
\IfFileExists{\thu@mac@word@font@path/Simsun.ttc}{
\thusetup{fontset = windows, cjk-font = mac-word}
}{
\ifthu@system@mac
\thusetup{fontset = mac}
Expand Down Expand Up @@ -2545,7 +2545,7 @@
\IfFontExistsTF{SimSun}{
\thusetup{cjk-font = windows}
}{
\IfFileExists{\thu@mac@word@font@path/SimSun.ttc}{
\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 11bf0d8

Please sign in to comment.