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 font based on bold and italic flags.
docstr_tok: ["Get","the","font","based","on","bold","and","italic","flags","."]
code: def get_font(self, bold, oblique):
      """
      Get the font based on bold and italic flags.
      """
      if bold and oblique:
          if self.variable:
              return self.get_style("BOLDITALIC")
  
          return self.fonts["BOLDITALIC"]
      elif bold:
          if self.variable:
              return self.get_style("BOLD")
  
          return self.fonts["BOLD"]
      elif oblique:
          if self.variable:
              return self.get_style("ITALIC")
  
          return self.fonts["ITALIC"]
      else:
          if self.variable:
              return self.get_style("NORMAL")
  
          return self.fonts["NORMAL"]
  
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 10 for calling the FontManager obj's underlying member method code with example usage: obj.get_font(bold, oblique) and returns: self, self, self, self, self, self, self, self