Change map font

This commit is contained in:
Liam Steckler 2025-05-03 15:33:56 -07:00
parent fe0910bd39
commit e0eff21265
4 changed files with 94 additions and 116 deletions

2
scl.py
View file

@ -47,7 +47,7 @@ class AttribStaticMap(staticmap.StaticMap, object):
super(AttribStaticMap, self)._draw_features(image)
txt = Image.new("RGBA", image.size, (255, 255, 255, 0))
fnt = ImageFont.truetype("fonts/PublicSans-Regular.otf", 24)
fnt = ImageFont.truetype("fonts/Cabin-Regular.ttf", 24)
d = ImageDraw.Draw(txt)
textSize = fnt.getbbox(self.attribution)