Add the fonts that the guide talks about - the license allows for it.
This commit is contained in:
parent
a32be42857
commit
e9d5e2558b
4 changed files with 7 additions and 1 deletions
6
Pi_Hole_Ad_Blocker/fonts/readme.txt
Normal file
6
Pi_Hole_Ad_Blocker/fonts/readme.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
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:
|
||||
|
||||
http://scripts.sil.org/OFL
|
||||
http://www.kottke.org/plus/type/silkscreen/
|
||||
|
||||
To install Silkscreen, simply copy the two .ttf files to your fonts directory.
|
||||
BIN
Pi_Hole_Ad_Blocker/fonts/slkscr.ttf
Executable file
BIN
Pi_Hole_Ad_Blocker/fonts/slkscr.ttf
Executable file
Binary file not shown.
BIN
Pi_Hole_Ad_Blocker/fonts/slkscrb.ttf
Executable file
BIN
Pi_Hole_Ad_Blocker/fonts/slkscrb.ttf
Executable file
Binary file not shown.
|
|
@ -47,7 +47,7 @@ import sys
|
|||
api_url = 'http://localhost/admin/api.php'
|
||||
|
||||
# Load nice silkscreen font
|
||||
font = ImageFont.truetype('/home/pi/slkscr.ttf', 8)
|
||||
font = ImageFont.truetype('fonts/slkscr.ttf', 8)
|
||||
|
||||
# Create the I2C interface.
|
||||
i2c = busio.I2C(SCL, SDA)
|
||||
|
|
|
|||
Loading…
Reference in a new issue