code: def get_font(self, bold, oblique):
          
          if bold and oblique:
              return self.fonts['BOLDITALIC']
          elif bold:
              return self.fonts['BOLD']
          elif oblique:
              return self.fonts['ITALIC']
          else:
              return self.fonts['NORMAL']
docs: Get the font based on bold and italic flags.