From b52b4743461bede9c087f08909017d4a4d712ee4 Mon Sep 17 00:00:00 2001
From: Koishi Jinguji <myandeg@outlook.com>
Date: Thu, 9 Sep 2021 11:01:18 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E6=9B=B4=E6=96=B0=E5=AD=97=E4=BD=93?=
 =?UTF-8?q?=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 profile/font.sty | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/profile/font.sty b/profile/font.sty
index 6648ec8..62b2cd0 100644
--- a/profile/font.sty
+++ b/profile/font.sty
@@ -151,32 +151,36 @@
   \setCJKfamilyfont{zhkai}{鏂规妤蜂綋绠€浣搣[AutoFakeBold=2.17]
 }
 
+% 鏍规嵁鎿嶄綔绯荤粺閫夋嫨鐩稿簲瀛椾綋
 % 妫€娴嬫槸鍚︽槸 Windows
 \sys_if_platform_windows:TF
 {
   \set_latin_fontset_windows
   \set_chinese_fontset_windows
 }
+% 妫€娴嬫槸鍚︽槸 macOS
+\ctex_if_platform_macos:TF
 {
-  % 妫€娴嬫槸鍚︽槸 MacOS
-  \ctex_if_platform_macos:TF
-  {
-    \set_latin_fontset_macos
-    \set_chinese_fontset_macos
-  }
-  % 鍏朵綑绯荤粺涓€寰嬩娇鐢ㄨ嚜鐢卞瓧浣�
-  {
-    \set_latin_fontset_gyre
-    \set_chinese_fontset_fandol
-  }
+  \set_latin_fontset_macos
+  \set_chinese_fontset_macos
+}
+% 鍏朵綑绯荤粺涓€寰嬩娇鐢ㄨ嚜鐢卞瓧浣�
+{
+  \set_latin_fontset_gyre
+  \set_chinese_fontset_fandol
 }
 
+% 閫夋嫨鍏朵粬瀛椾綋锛岃纭繚鐩稿簲瀛椾綋宸插畨瑁呭苟鑷鍙栨秷娉ㄩ噴
 % 浣跨敤鏂规瀛椾綋
 % \set_chinese_fontset_founder
 
 % 浣跨敤鎬濇簮瀹嬩綋+鎬濇簮榛戜綋
 % \set_chinese_fontset_noto
 
+% 鎴戞槸 Linux 鐢ㄦ埛锛屼絾鎴戠敤 Windows 瀛椾綋锛堣鎮ㄨ刀蹇潗鍒颁富甯彴涓婃潵锛�
+% \set_latin_fontset_windows
+% \set_chinese_fontset_windows
+
 \NewDocumentCommand\songti{}{\CJKfamily{zhsong}}
 \NewDocumentCommand\heiti{}{\CJKfamily{zhhei}}
 \NewDocumentCommand\fangsong{}{\CJKfamily{zhfs}}
-- 
GitLab