Skip to content

Commit

Permalink
Fix font error on TeXPage
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed May 9, 2024
1 parent 6e5b060 commit 6a9e025
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions ustcthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -686,15 +686,19 @@
\ifustc@system@windows
\ustcsetup{fontset = windows}
\else
\ifustc@system@mac
\ustcsetup{fontset = mac}
\else
\IfFontExistsTF{Noto Serif CJK SC}{
\ustcsetup{fontset = ubuntu}
}{
\ustcsetup{fontset = fandol}
}
\fi
\IfFontExistsTF{SimSun}{
\ustcsetup{fontset = windows}
}{
\ifustc@system@mac
\ustcsetup{fontset = mac}
\else
\IfFontExistsTF{Noto Serif CJK SC}{
\ustcsetup{fontset = ubuntu}
}{
\ustcsetup{fontset = fandol}
}
\fi
}
\fi
\fi

Expand Down

0 comments on commit 6a9e025

Please sign in to comment.