Skip to content

Commit

Permalink
Commented or removed unused lines
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Nov 9, 2015
1 parent 9645e3d commit cfaf95a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions PIL/BdfFontFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ def __init__(self, fp):
if s.find(b"LogicalFontDescription") < 0:
comments.append(s[i+1:-1].decode('ascii'))

font = props["FONT"].split("-")
# font = props["FONT"].split("-")

font[4] = bdf_slant[font[4].upper()]
font[11] = bdf_spacing[font[11].upper()]
# font[4] = bdf_slant[font[4].upper()]
# font[11] = bdf_spacing[font[11].upper()]

# ascent = int(props["FONT_ASCENT"])
# descent = int(props["FONT_DESCENT"])
Expand All @@ -123,7 +123,6 @@ def __init__(self, fp):
# for i in comments:
# print "#", i

font = []
while True:
c = bdf_char(fp)
if not c:
Expand Down

0 comments on commit cfaf95a

Please sign in to comment.