Skip to content

Commit

Permalink
Prioritize windows fontset
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Mar 12, 2021
1 parent 82dbbde commit 3a8b0f0
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions thuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2087,15 +2087,19 @@
\ifthu@system@windows
\thusetup{fontset = windows}
\else
\ifthu@system@mac
\thusetup{fontset = mac}
\else
\IfFontExistsTF{Noto Serif CJK SC}{
\thusetup{fontset = ubuntu}
}{
\thusetup{fontset = fandol}
}
\fi
\IfFontExistsTF{SimSun}{
\thusetup{fontset = windows}
}{
\ifthu@system@mac
\thusetup{fontset = mac}
\else
\IfFontExistsTF{Noto Serif CJK SC}{
\thusetup{fontset = ubuntu}
}{
\thusetup{fontset = fandol}
}
\fi
}
\fi
\fi
% \end{macrocode}
Expand Down

0 comments on commit 3a8b0f0

Please sign in to comment.