'Update font from Preferences'

def update_font(self):

    color_scheme = self.get_color_scheme()
    font = self.get_plugin_font()
    rich_font = self.get_plugin_font(rich_text=True)
    self.set_plain_text_font(font, color_scheme=color_scheme)
    self.set_rich_text_font(rich_font)
