(self, font)
| 950 | return self.getFont() |
| 951 | |
| 952 | def _set_font(self, font): |
| 953 | assert isinstance(font, (str, Font)) |
| 954 | self.style['font'] = font # Set the font in the current style |
| 955 | self.reset() # Make sure context cache recalculates. |
| 956 | font = property(_get_font, _set_font) |
| 957 | |
| 958 | def getFont(self, style=None): |