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øªjgã*@s2ddlmZmZddlZddlmZy ddlTWnek rLddlTYnXddl m Z m Z m Z m Z dd„dNDƒZdd„Zd d„Zefd!d„Zejd"ƒZd#d$„Zd%d&„e jjƒDƒZefd'd„Zd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;dd?d@dAdBdCdDdEdFdGdHdIh"ZefdJd„ZdKd„ZdLd„ZdMd„ZdS)Oé)ÚbyteordÚtostrN)Ú bisect_right)Ú*é)ÚBlocksÚScriptsÚScriptExtensionsÚOTTagscCsg|] }t|ƒ‘qS©)r)Ú.0Úsr r úC/tmp/pip-build-_d5lkt3n/fonttools/fontTools/unicodedata/__init__.pyú srÚlookupÚnameÚdecimalÚdigitÚnumericÚcategoryÚ bidirectionalÚ combiningÚeast_asian_widthÚmirroredÚ decompositionÚ normalizeÚunidata_versionÚ ucd_3_2_0ÚblockÚscriptÚscript_extensionÚ script_nameÚ script_codeÚscript_horizontal_directionÚot_tags_from_scriptÚot_tag_to_scriptcCs"t|ƒ}ttj|ƒ}tj|dS)zÈ Return the four-letter script code assigned to the Unicode character 'char' as string. >>> script("a") 'Latn' >>> script(",") 'Zyyy' >>> script(chr(0x10FFFF)) 'Zzzz' r)rrrÚRANGESÚVALUES)ÚcharÚcodeÚir r rr-s  cCs8t|ƒ}ttj|ƒ}tj|d}|dkr4t|ƒhS|S)a7 Return the script extension property assigned to the Unicode character 'char' as a set of string. >>> script_extension("a") == {'Latn'} True >>> script_extension(chr(0x060C)) == {'Rohg', 'Syrc', 'Yezi', 'Arab', 'Thaa'} True >>> script_extension(chr(0x10FFFF)) == {'Zzzz'} True rN)rrr r&r'r)r(r)r*Úvaluer r rr Fs   c CsFyttj|jddƒƒStk r@t|tƒrtsr>c Cs@t|ƒ}yt|Stk r:t|tƒr6t|tƒr6‚|SXdS)a Returns the four-letter Unicode script code from its long name If no matching script code is found, a KeyError is raised by default. You can use the 'default' argument to return a fallback string (e.g. 'Zzzz' or None) instead of throwing an error. N)r;Ú _SCRIPT_CODESr1r2r3r4)r!r5Znormalized_namer r rr"xsZArabZHebrZSyrcZThaaZCprtZKharZPhnxZNkooZLydiZAvstZArmiZPhliZPrtiZSarbZOrkhZSamrZMandZMercZMeroZManiZMendZNbatZNarbZPalmZPhlpZHatrZHungZAdlmZRohgZSogoZSogdZElymZChrsZYezicCsB|tjkr*t|tƒr&t|tƒr&||ƒ‚|S|tkr:tdƒStdƒS)z† Return "RTL" for scripts that contain right-to-left characters according to the Bidi_Class property. Otherwise return "LTR". ZRTLZLTR)rr/r2r3r4r1Ú RTL_SCRIPTSr.)r"r5r r rr#Ís  cCs"t|ƒ}ttj|ƒ}tj|dS)zÒ Return the block property assigned to the Unicode character 'char' as a string. >>> block("a") 'Basic Latin' >>> block(chr(0x060C)) 'Arabic' >>> block(chr(0xEFFFF)) 'No_Block' r)rrrr&r')r(r)r*r r rrØs  cCs\|tjkrtjgStjj||djƒ|dd…ƒg}|tjkrX|jtj|ƒ|j ƒ|S)z� Return a list of OpenType script tags associated with a given Unicode script code. Return ['DFLT'] script tag for invalid/unknown script codes. rrN) rr/r ÚDEFAULT_SCRIPTZSCRIPT_EXCEPTIONSÚgetr9ZNEW_SCRIPT_TAGSÚextendÚreverse)r"Z script_tagsr r rr$ès  cCsÐt|ƒjƒ}| s&d|ks&t|ƒdkr2td|ƒ‚xt|ƒdkrN|tdƒ7}q4W|tjkr^dS|tjkrrtj|S|djƒ|d}x6t ddƒD](}|||dkr°||dn||7}q’W|t j krÌdS|S)zÄ Return the Unicode script code for the given OpenType script tag, or None for "DFLT" tag or if there is no Unicode script associated with it. Raises ValueError if the tag is invalid. r-ézinvalid OpenType tag: %rNrré) rÚstripÚlenÚ ValueErrorr.r rAZNEW_SCRIPT_TAGS_REVERSEDÚupperÚrangerr/)Útagr"r*r r rr%ýs     ( )rrrrrrrrrrrrrrrrr r!r"r#r$r%)ZfontTools.misc.textToolsrrÚreÚbisectrZ unicodedata2Ú ImportErrorÚ unicodedatar6rrr r Ú__all__rr r1r!Úcompiler7r;r/Úitemsr?r"r@r#rr$r%r r r rÚs˜