+
    K<iq                        R t ^ RIt^ RIt ! R R]P                  4      tRRR]! ^|4      R]! ^~4      R]! ^\4      R	]! ^4      R
]! ^4      R]! R4      R]! R4      /3RRR]! ^\4      R	]! ^4      R
]! ^4      R]! R4      R]! R4      /3RRR]! ^4      R]! R4      R]! R4      R]! ^4      R]! R4      R]! R4      /3RRR]! ^4      R	]! ^4      R
]! ^4      R]! R4      R]! R4      /3/t/ tR t]P                  ! ]4       R# )zExtend the Python codecs module with a few encodings that are used in OpenType (name table)
but missing from Python.  See https://github.com/fonttools/fonttools/issues/236 for details.Nc                   F   a  ] tR t^t o R tR tRR ltRR ltR tRt	V t
R# )	ExtendCodecc                   Wn         W n        W0n        VP                  4        UUu/ uF  w  rEWTbK	  	  uppV n        \        R  VP                  4        4       4      V n        \        P                  ! V P                   V P                  V P                  R7      V n        \        P                  ! WP                  4       R# u uppi )c              3   8   "   T F  p\        V4      x  K  	  R # 5iN)len).0vs   & </usr/lib/python3/dist-packages/fontTools/encodings/codecs.py	<genexpr>'ExtendCodec.__init__.<locals>.<genexpr>   s     <+;a3q66+;s   )nameencodedecodeN)r   base_encodingmappingitemsreversemaxvaluesmax_lencodecs	CodecInfor   r   inforegister_errorerror)selfr   r   r   kr	   s   &&&&  r
   __init__ExtendCodec.__init__	   s    	*)099<7>>+;<<$$4;;t{{
	 	dJJ/ :s   B?c                v   \         P                  ! V4      p\        V4      pV! 4       pV'       d,    V! W@P                  V P                  R 7      p	W,          p W3# W3#   T dS   p
Y! TRT
P
                   T P                  T P                  4      ,          pT! T
4      w  rY,          pYLR p Rp
?
K  Rp
?
ii ; i))errorsN)r   lookup_errorr   r   r   start)r   mapperoutput_typeexc_typeinputr!   base_error_handlerlengthoutpartereplacementposs   &&&&&&       r
   _mapExtendCodec._map   s    #008Um	$e%7%7		J {s{  $veIagg.0B0BDIINN#5a#8 "d$s   &A B8&AB33B8c                V    V P                  \        P                  \        \        W4      # r   )r/   r   r   bytesUnicodeEncodeErrorr   r'   r!   s   &&&r
   r   ExtendCodec.encode&   s    yy/A5QQ    c                V    V P                  \        P                  \        \        W4      # r   )r/   r   r   strUnicodeDecodeErrorr4   s   &&&r
   r   ExtendCodec.decode)   s    yy-?OOr6   c                x   \        V\        4      '       dw   \        VP                  ^,           VP                  ^,           4       FC  pVP
                  VP                  V pW0P                  9   g   K.  V P                  V,          V3u # 	  M\        V\        4      '       d   \        VP                  ^,           VP                  V P                  ,           ^,           4       FC  pVP
                  VP                  V pW0P                  9   g   K.  V P                  V,          V3u # 	  V P                  Vn        Vh)   )
isinstancer9   ranger#   endobjectr   r3   r   r   r   encoding)r   r,   r?   ss   &&  r
   r   ExtendCodec.error,   s    a+,,QWWq[!%%!)4HHQWWs+$<<?C// 5 -..QWWq[!''DLL*@1*DEHHQWWs+$<<?C// F YY
r6   )r   r   r   r   r   r   N)strict)__name__
__module____qualname____firstlineno__r   r/   r   r   r   __static_attributes____classdictcell__)__classdict__s   @r
   r   r      s%     	0$RP r6   r   x_mac_japanese_ttx	shift_jis      ~            i"!     i&   x_mac_trad_chinese_ttxbig5x_mac_korean_ttxeuc_kr   i      i      x_mac_simp_chinese_ttxgb2312c                 Z   \         P                  ! V 4      p V \        9   dx   V \        9  dV   \        V ,          w  rV RR R8X  g   Q hV RR V.pV F-  p \        P
                  ! V4       \        YT4      \        T &    M	  \        V ,          P                  # R#   \         d     KX  i ; i)   N_ttx)		encodingsnormalize_encoding_extended_encodings_cacher   lookupLookupErrorr   r   )r   r   r   base_encodingss   &   r
   search_functionri   l   s    ''-D""v%8%>"M9&&& #3Bi7N!/MM-0  +4Ht "0 d|    # s   BB*)B*)
__doc__r   rb   Codecr   chrrd   re   ri   register r6   r
   <module>ro      s_  `  0&,, 0h S[S[S[S[S[S[S[	
 S[S[S[S[S[	
	 S[S[S[S[S[S[	

 S[S[S[S[S[	
	E, \ 
6   r6   