[Snippets/statShape] Pass glyphset to StatisticPen

Such that components can be resolved.
This commit is contained in:
Behdad Esfahbod 2023-10-19 12:28:09 -06:00
parent c7e3348904
commit cb2f4c1a61

View File

@ -35,7 +35,7 @@ with cairo.SVGSurface(
glyph.draw(pen)
context.fill()
stats = StatisticsPen()
stats = StatisticsPen(glyphset)
glyph.draw(stats)
# https://cookierobotics.com/007/