class_docstr: A class representing a Type-1 font, for use by backends.
  
  Attributes
  ----------
  parts : tuple
      A 3-tuple of the cleartext part, the encrypted part, and the finale of
      zeros.
  
  prop : Dict[str, Any]
      A dictionary of font properties.
class_docstr_tok: ["A","class","representing","a","Type-1","font",",","for","use","by","backends",".","Attributes","--","--","--","--","--","parts",":","tuple","A","3-tuple","of","the","cleartext","part",",","the","encrypted","part",",","and","the","finale","of","zeros",".","prop",":","Dict","[","str",",","Any","]","A","dictionary","of","font","properties","."]
docstr: Initialize a Type-1 font. *input* can be either the file name of
  a pfb file or a 3-tuple of already-decoded Type-1 font parts.
docstr_tok: ["Initialize","a","Type-1","font",".","*","input","*","can","be","either","the","file","name","of","a","pfb","file","or","a","3-tuple","of","already-decoded","Type-1","font","parts","."]
code: def __init__(self, input):
      """
      Initialize a Type-1 font. *input* can be either the file name of
      a pfb file or a 3-tuple of already-decoded Type-1 font parts.
      """
      if isinstance(input, tuple) and len(input) == 3:
          self.parts = input
      else:
          with open(input, "rb") as file:
              data = self._read(file)
          self.parts = self._split(data)
  
      self._parse()
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/type1font.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import binascii
  import io
  import itertools
  import re
  import struct
  import numpy
label_desc: Use image node_id 1 to create a new Type1Font object from inherited base classes: object with example: obj = Type1Font(input)