Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3 2øªj¥ã@sddlZGdd„deƒZGdd„deƒZGdd„deƒZGdd „d eƒZGd d „d eƒZGd d „d eƒZGdd„deƒZGdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„deƒZ Gdd„de ƒZ Gdd„deƒZ Gdd„de ƒZGdd„de ƒZGdd „d e ƒZGd!d"„d"eƒZdS)#éNc@seZdZdZdS)Ú VarLibErrorz%Base exception for the varLib module.N)Ú__name__Ú __module__Ú __qualname__Ú__doc__©rrúRaised when input data is invalid from varLib's point of view.N)rrrrrrrrr sr c@sNeZdZdZddd„Zedd„ƒZdd„Zed d „ƒZed d „ƒZ d d„Z dS)ÚVarLibMergeErrorz=Raised when input data cannot be merged into a variable font.NcKs8||_|si}d|kr(|d|_|d=ng|_||_dS)NÚstack)Úmergerr Úcause)Úselfr ÚkwargsrrrÚ__init__s zVarLibMergeError.__init__cCs|jS)N)r)rrrrÚreasonszVarLibMergeError.reasoncCsˆ|jdk r~|jj|}d|krZ|djdƒrZ|djdƒrZ|djdƒd|djdƒSt|jdƒr~t|jjdƒr~|jjjSd|›�S)NÚnameééú Úfilezmaster number )r ÚttfsZ getDebugNameÚhasattrÚreaderrr)rÚixZttfrrrÚ _master_names    zVarLibMergeError._master_namecsDdˆjkr@dˆjkr@‡fdd„ˆjdDƒjdƒ}|ˆj|ƒfSdS)NÚexpectedÚgotcsg|]}|ˆjdk‘qS)r)r )Ú.0Úx)rrrú .sz-VarLibMergeError.offender..F)NN)r Úindexr)rr!r)rrÚoffender+s zVarLibMergeError.offendercCsTd|jkrPd|jkrP|j\}}|jd|}d|jd›d|jd›d|›d�SdS) NrrzExpected to see rz==z, instead saw Ú Ú)r r"r )rÚoffender_indexr"rrrrÚdetails4s  $zVarLibMergeError.detailscCs\|j\}}d}|rd|›d�}djt|jƒƒ}tjd|j›d|›�dd�}d|||jS) Nr$z! The problem is likely to be in z: z"Couldn't merge the fonts, because z:. This happened while performing the following operation: éN)Úwidthz )r"ÚjoinÚreversedr ÚtextwrapÚfillrr&)rr%r"ÚlocationÚcontextÚbasicrrrÚ__str__<s  zVarLibMergeError.__str__)N) rrrrrÚpropertyrrr"r&r0rrrrr s  r cs$eZdZdZe‡fdd„ƒZ‡ZS)ÚShouldBeConstantz9some values were different, but should have been the samecs |jddks|jdkr tƒjS|j\}}|jj|}|jj|d}dd„||jd jjjDƒ}dd„||jd jjjDƒ}ddj |ƒ›d dj |ƒ›d �S) Nrz .FeatureCountrcSsg|] }|j‘qSr)Ú FeatureTag)rrrrrr Vsz,ShouldBeConstant.details..cSsg|] }|j‘qSr)r3)rrrrrr Zsz2 Incompatible features between masters. Expected: z, z. Got: z. éÿÿÿÿr4) r r Úsuperr&r"rÚtableZ FeatureListZ FeatureRecordr))rr%r"Zbad_ttfZgood_ttfZ good_featuresZ bad_features)Ú __class__rrr&Ms  zShouldBeConstant.details)rrrrr1r&Ú __classcell__rr)r7rr2Jsr2c@s(eZdZdZedd„ƒZedd„ƒZdS)Ú FoundANonezAone of the values in a list was empty when it shouldn't have beencCs0|jd}dd„|dDƒjdƒ}||j|ƒfS)NrcSsg|] }|dk‘qS)Nr)rrrrrr jsz'FoundANone.offender..rT)Úargvr!r)rr r!rrrr"gs zFoundANone.offendercCs2|jd|jdd…}}|d›d|d›d�S)Nrrz==rr#)Úargs)rr r rrrr&mszFoundANone.detailsN)rrrrr1r"r&rrrrr9ds r9c@seZdZdZdS)ÚMismatchedTypeszdata had inconsistent typesN)rrrrrrrrr<ssr<c@seZdZdZdS)Ú LengthsDifferz*a list of objects had inconsistent lengthsN)rrrrrrrrr=wsr=c@seZdZdZdS)Ú KeysDifferz$a list of objects had different keysN)rrrrrrrrr>{sr>c@seZdZdZdS)ÚInconsistentGlyphOrderz0the glyph order was inconsistent between mastersN)rrrrrrrrr?sr?c@seZdZdZdS)ÚInconsistentExtensionsz6the masters use extension lookups in inconsistent waysN)rrrrrrrrr@ƒsr@c@seZdZdZedd„ƒZdS)ÚUnsupportedFormatz6an OpenType subtable (%s) had a format I didn't expectcCs(|jd|jdd…}}|j|dS)NrrZsubtable)r;r)rr r rrrrŠszUnsupportedFormat.reasonN)rrrrr1rrrrrrA‡srAc@seZdZdZdS)rAzBan OpenType subtable (%s) had inconsistent formats between mastersN)rrrrrrrrrA�sc@s eZdZdS)ÚVarLibCFFMergeErrorN)rrrrrrrrB”srBc@seZdZdZdd„ZdS)ÚVarLibCFFDictMergeErrorz/Raised when a CFF PrivateDict cannot be merged.cCs:d|›d|›d�}x|D]}|d|›�7}qW|f|_dS)NzFor the Private Dict key 'z!', the default font value list: z5 had a different number of values than a region font:z )r;)rÚkeyÚvalueÚvaluesÚ error_msgZ region_valuerrrr›s z VarLibCFFDictMergeError.__init__N)rrrrrrrrrrC˜srCc@seZdZdZdd„ZdS)ÚVarLibCFFPointTypeMergeErrorzKRaised when a CFF glyph cannot be merged because of point type differences.c Cs0d|›d|›d|›d|›d|›d� }|f|_dS)NzGlyph 'z': 'z' at point index z in master index z+ differs from the default font point type 'ú')r;)rZ point_typeZpt_indexÚm_indexÚ default_typeÚ glyph_namerGrrrr¨s$z%VarLibCFFPointTypeMergeError.__init__N)rrrrrrrrrrH¥srHc@seZdZdZdd„ZdS)ÚVarLibCFFHintTypeMergeErrorzJRaised when a CFF glyph cannot be merged because of hint type differences.c Cs0d|›d|›d|›d|›d|›d� }|f|_dS)NzGlyph 'z': 'z ' at index z in master index z* differs from the default font hint type 'rI)r;)rZ hint_typeZ cmd_indexrJrKrLrGrrrr´s$z$VarLibCFFHintTypeMergeError.__init__N)rrrrrrrrrrM±srMc@seZdZdZdS)ÚVariationModelErrorz(Raised when a variation model is faulty.N)rrrrrrrrrN½srN)r+Ú Exceptionrr r r2r9r<r=r>r?r@rArBrCrHrMrNrrrrÚs">