class_docstr: Manages a set of fonts: normal, italic, bold, etc...
class_docstr_tok: ["Manages","a","set","of","fonts",":","normal",",","italic",",","bold",",","etc","..."]
docstr: Get the specified style of the font if it is a variable font.
  If not found, return the normal font.
docstr_tok: ["Get","the","specified","style","of","the","font","if","it","is","a","variable","font",".","If","not","found",",","return","the","normal","font","."]
code: def get_style(self, style):
      """
      Get the specified style of the font if it is a variable font.
      If not found, return the normal font.
      """
      font = self.fonts[style]
      for style_name in STYLES[style]:
          try:
              font.set_variation_by_name(style_name)
              return font
          except ValueError:
              pass
          except OSError:
              return font
  
      return font
  
imports: import os
  import sys
  from pygments.formatter import Formatter
  from pygments.util import get_bool_opt, get_int_opt, get_list_opt, get_choice_opt
  import subprocess
label_desc: Use image node_id 11 for calling the FontManager obj's underlying member method code with example usage: obj.get_style(style) and returns: font, font, font