Skip to content

Commit

Permalink
Fix example syntax
Browse files Browse the repository at this point in the history
This fixes #232
  • Loading branch information
justvanrossum authored Jan 15, 2025
1 parent bd96571 commit aeae4f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ glyphName = "A"
boundingBox = brFont.getGlyphBounds(glyphName)
surfaceClass = getSurfaceClass("skia")
surface = surfaceClass()
with surface.canvas(boundingBox)
with surface.canvas(boundingBox):
brFont.drawGlyph(glyphName, canvas)
surface.saveImage("image.png")
```
Expand Down

0 comments on commit aeae4f6

Please sign in to comment.