标签: python django text
你在哪里为django-cairo-text设置自定义字体?
https://github.com/akaihola/django-cairo-text
答案 0 :(得分:0)
操作系统的字体引擎预期的位置。如果您想使用自定义字体文件,则需要load it manually然后将其注入CAIROTEXT_PRESETS设置。
CAIROTEXT_PRESETS