This could just be a singleton style module with a method `create_style` or something like that. We never use instances of this class other than to call `style` on it, so it mgiht as well directly return the style. Otherwise we could initialize a TextStyleFactory straight on the creation of TextBlockPainter (without args) and then have this with a method `create_style` that returns the style.