class_docstr: Format tokens as RTF markup. This formatter automatically outputs full RTF
  documents with color information and other useful stuff. Perfect for Copy and
  Paste into Microsoft(R) Word(R) documents.
  
  Please note that ``encoding`` and ``outencoding`` options are ignored.
  The RTF format is ASCII natively, but handles unicode characters correctly
  thanks to escape sequences.
  
  .. versionadded:: 0.6
  
  Additional options accepted:
  
  `style`
      The style to use, can be a string or a Style subclass (default:
      ``'default'``).
  
  `fontface`
      The used font family, for example ``Bitstream Vera Sans``. Defaults to
      some generic font which is supposed to have fixed width.
  
  `fontsize`
      Size of the font used. Size is specified in half points. The
      default is 24 half-points, giving a size 12 font.
  
      .. versionadded:: 2.0
docstr: Additional options accepted:
  
  ``fontface``
      Name of the font used. Could for example be ``'Courier New'``
      to further specify the default which is ``'\fmodern'``. The RTF
      specification claims that ``\fmodern`` are "Fixed-pitch serif
      and sans serif fonts". Hope every RTF implementation thinks
      the same about modern...
docstr_tok: ["Additional","options","accepted",":","``","fontface","``","Name","of","the","font","used",".","Could","for","example","be","``","'Courier","New","'","``","to","further","specify","the","default","which","is","``","'\\fmodern","'","``",".","The","RTF","specification","claims","that","``","\\fmodern","``","are","``","Fixed-pitch","serif","and","sans","serif","fonts","''",".","Hope","every","RTF","implementation","thinks","the","same","about","modern","..."]
code: def __init__(self, **options):
      r"""
      Additional options accepted:
  
      ``fontface``
          Name of the font used. Could for example be ``'Courier New'``
          to further specify the default which is ``'\fmodern'``. The RTF
          specification claims that ``\fmodern`` are "Fixed-pitch serif
          and sans serif fonts". Hope every RTF implementation thinks
          the same about modern...
  
      """
      Formatter.__init__(self, **options)
      self.fontface = options.get("fontface") or ""
      self.fontsize = get_int_opt(options, "fontsize", 0)
  
file_path: catboost/contrib/python/Pygments/py3/pygments/formatters/rtf.py
imports: from pygments.formatter import Formatter
  from pygments.util import get_int_opt, surrogatepair
label_desc: Use image node_id 1 to create a new RtfFormatter object from inherited base classes: Formatter with example: obj = RtfFormatter()