diff --git a/danding_bot/plugins/danding_qqpush/image_render.py b/danding_bot/plugins/danding_qqpush/image_render.py index bcc68b0..5cb3b23 100644 --- a/danding_bot/plugins/danding_qqpush/image_render.py +++ b/danding_bot/plugins/danding_qqpush/image_render.py @@ -16,7 +16,10 @@ class ImageRenderer: line_spacing: float = 1.4, bg_color: Tuple[int, int, int] = (252, 252, 252), text_color: Tuple[int, int, int] = (0, 0, 0), - font_paths: list = None + font_paths: list = [ + "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc", # 中文 + "/usr/share/fonts/truetype/noto/NotoColorEmoji.ttf" # emoji + ] ): """ 初始化图片渲染器