Fonts
An utility repo to load conveniently fonts using hf_hub_download
:
from huggingface_hub import hf_hub_download
from PIL import ImageFont
font_path = hf_hub_download("ybelkada/fonts", "Arial.TTF")
font_obj = ImageFont(font_path, encoding="UTF-8")