Skip to content

Configuration GoodListImage

Ljzd-PRO edited this page Sep 2, 2022 · 20 revisions

商品信息图片生成 class GoodListImage

在源码 config.py 中更改

  • 位置:
class GoodListImage(BaseModel, extra=Extra.ignore):

除了 FONT_PATH
一般不需要更改本类设置,具体说明请看源码注释。

在缺少字体的时候插件从 GitHub 下载开源字体
Source Han Sans 思源黑体
https://github.com/adobe-fonts/source-han-sans