diff --git a/arknights_mower/fonts/SourceHanSansCN-Medium.otf b/arknights_mower/fonts/SourceHanSansCN-Medium.otf new file mode 100644 index 000000000..630d54677 Binary files /dev/null and b/arknights_mower/fonts/SourceHanSansCN-Medium.otf differ diff --git a/arknights_mower/fonts/SourceHanSansSC-Bold.otf b/arknights_mower/fonts/SourceHanSansSC-Bold.otf deleted file mode 100644 index 16ecccf9f..000000000 Binary files a/arknights_mower/fonts/SourceHanSansSC-Bold.otf and /dev/null differ diff --git a/arknights_mower/utils/character_recognize.py b/arknights_mower/utils/character_recognize.py index 7995a6026..a4dff96b9 100644 --- a/arknights_mower/utils/character_recognize.py +++ b/arknights_mower/utils/character_recognize.py @@ -47,7 +47,7 @@ def agent_sift_init(): img = Image.fromarray(img) font = ImageFont.truetype( - f'{__rootdir__}/fonts/SourceHanSansSC-Bold.otf', size=30, encoding='utf-8' + f'{__rootdir__}/fonts/SourceHanSansCN-Medium.otf', size=30, encoding='utf-8' ) chars = sorted(list(set(''.join([x for x in agent_list])))) assert len(chars) <= (lnum - 2) * (lnum - 2)