Skip to content

Commit

Permalink
Fix bug reported in #98
Browse files Browse the repository at this point in the history
  • Loading branch information
rougier committed Mar 12, 2017
1 parent 1d3c640 commit 783b201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glumpy/graphics/text/agg_font.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def load(self, charcodes = ''):
rows = face.glyph.bitmap.rows
pitch = face.glyph.bitmap.pitch

w = int(width/3)
w = int(width//3)
h = rows
# h+1,w+1 to have a black border
region = self.atlas.allocate( (h+1,w+1) )
Expand Down

0 comments on commit 783b201

Please sign in to comment.