#NEWLINE# def _get_style_font( self , style ) : #NEWLINE# #INDENT# '\n        Get the correct font for the style.\n        ' #NEWLINE# return self . fonts . get_font ( style [ 'bold' ] , self [ 'italic' ] )