[svn r7359] Prospecting guide scripts fettled so they work on my new system (sorry, but the font name has to be hard-coded in, which sucks) and killed a couple of old monstrosities

This commit is contained in:
dave
2006-06-18 00:49:51 +02:00
parent f1114a6eee
commit 095f700f05
6 changed files with 350 additions and 4009 deletions

View File

@@ -99,7 +99,8 @@ my40Draw = ImageDraw.Draw(my40Image)
my204Image = Image.open("pguidemap_204area.jpg")
my204Draw = ImageDraw.Draw(my204Image)
FONT = "/usr/X11R6/lib/X11/fonts/truetype/arial.ttf"
#FONT = "/usr/X11R6/lib/X11/fonts/truetype/arial.ttf"
FONT = "C:\WINNT\Fonts\ARIAL.TTF"
SIZE = 8
myFont = ImageFont.truetype(FONT, SIZE)
myDraw.setfont(myFont)