class_docstr: Manages a set of fonts: normal, italic, bold, etc...
class_docstr_tok: ["Manages","a","set","of","fonts",":","normal",",","italic",",","bold",",","etc","..."]
code: def __init__(self, font_name, font_size=14):
      self.font_name = font_name
      self.font_size = font_size
      self.fonts = {}
      self.encoding = None
      if sys.platform.startswith("win"):
          if not font_name:
              self.font_name = DEFAULT_FONT_NAME_WIN
          self._create_win()
      elif sys.platform.startswith("darwin"):
          if not font_name:
              self.font_name = DEFAULT_FONT_NAME_MAC
          self._create_mac()
      else:
          if not font_name:
              self.font_name = DEFAULT_FONT_NAME_NIX
          self._create_nix()
  
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, xrange
  import subprocess
label_desc: Use image node_id 1 to create a new FontManager object from inherited base classes: object with example: obj = FontManager(font_name, font_size)