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 _get_nix_font_path(self, name, style):
      proc = subprocess.Popen(
          ["fc-list", "%s:style=%s" % (name, style), "file"],
          stdout=subprocess.PIPE,
          stderr=None,
      )
      stdout, _ = proc.communicate()
      if proc.returncode == 0:
          lines = stdout.splitlines()
          for line in lines:
              if line.startswith(b"Fontconfig warning:"):
                  continue
              path = line.decode().strip().strip(":")
              if path:
                  return path
          return None
  
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 2 for calling the FontManager obj's underlying member method code with example usage: obj._get_nix_font_path(name, style) and returns: None, path