Fix more
Thank you!
@@ -723,7 +723,7 @@ class _FontStyleRunsRangeIterator:
def __getitem__(self, index):
from pyglet import font
font_name, font_size, bold, italic, stretch = self.zip_iter[index]
- return font.load(font_name, font_size, bold=bold, italic=italic, stretch=stretch, dpi=self.dpi)
+ return font.load(font_name, font_size, bold=bool(bold), italic=bool(italic), stretch=stretch, dpi=self.dpi)
class _NoStyleRangeIterator:
