Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
# fonts/__init__.py
|
||||
|
||||
from pathlib import Path
|
||||
from PIL import ImageFont
|
||||
|
||||
|
||||
class Font:
|
||||
Chakra = str(Path(__file__).with_name("chakra.ttf"))
|
||||
Arial = str(Path(__file__).with_name("arial.otf"))
|
||||
|
||||
f60 = ImageFont.truetype(Chakra, 60) # Time
|
||||
f55 = ImageFont.truetype(Chakra, 55) # Temp
|
||||
f25 = ImageFont.truetype(Chakra, 25) # Temp C
|
||||
f14 = ImageFont.truetype(Chakra, 14) # Wind
|
||||
f20 = ImageFont.truetype(Chakra, 20) # Date / Info
|
||||
Reference in New Issue
Block a user