Skip to content

Commit e9d5e25

Browse files
committed
Add the fonts that the guide talks about - the license allows for it.
1 parent a32be42 commit e9d5e25

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

Pi_Hole_Ad_Blocker/fonts/readme.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Silkscreen was created by Jason Kottke and is distributed under the Open Font License, which means that you can use, distribute, or modify it however you wish. More information about the license and Silkscreen is available on the web:
2+
3+
http://scripts.sil.org/OFL
4+
http://www.kottke.org/plus/type/silkscreen/
5+
6+
To install Silkscreen, simply copy the two .ttf files to your fonts directory.

Pi_Hole_Ad_Blocker/fonts/slkscr.ttf

16.7 KB
Binary file not shown.

Pi_Hole_Ad_Blocker/fonts/slkscrb.ttf

15.6 KB
Binary file not shown.

Pi_Hole_Ad_Blocker/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
api_url = 'http://localhost/admin/api.php'
4848

4949
# Load nice silkscreen font
50-
font = ImageFont.truetype('/home/pi/slkscr.ttf', 8)
50+
font = ImageFont.truetype('fonts/slkscr.ttf', 8)
5151

5252
# Create the I2C interface.
5353
i2c = busio.I2C(SCL, SDA)

0 commit comments

Comments
 (0)