Home
last modified time | relevance | path

Searched refs:script_code (Results 1 – 7 of 7) sorted by relevance

/external/fonttools/Lib/fontTools/unicodedata/
D__init__.py122 def script_code(script_name, default=KeyError): function
197 def script_horizontal_direction(script_code, default=KeyError): argument
201 if script_code not in Scripts.NAMES:
203 raise default(script_code)
205 return str("RTL") if script_code in RTL_SCRIPTS else str("LTR")
224 def ot_tags_from_script(script_code): argument
229 if script_code not in Scripts.NAMES:
234 script_code,
235 script_code[0].lower() + script_code[1:]
238 if script_code in OTTags.NEW_SCRIPT_TAGS:
[all …]
/external/fonttools/Tests/
Dunicodedata_test.py186 assert unicodedata.script_code("Latin") == "Latn"
187 assert unicodedata.script_code("Common") == "Zyyy"
188 assert unicodedata.script_code("Unknown") == "Zzzz"
190 assert unicodedata.script_code("Egyptian Hieroglyphs") == "Egyp"
191 assert unicodedata.script_code("Egyptian_Hieroglyphs") == "Egyp"
192 assert unicodedata.script_code("egyptianhieroglyphs") == "Egyp"
193 assert unicodedata.script_code("Egyptian-Hieroglyphs") == "Egyp"
196 unicodedata.script_code("Does not exist")
197 assert unicodedata.script_code("Does not exist", default="Zzzz") == "Zzzz"
/external/tensorflow/tensorflow/core/kernels/
Dunicode_script_op.cc39 UScriptCode script_code = uscript_getScript(input_flat(i), status); in Compute() local
41 output_flat(i) = script_code; in Compute()
/external/python/setuptools/pkg_resources/
D__init__.py1444 script_code = compile(script_text, script_filename, 'exec')
1445 exec(script_code, namespace, namespace)
/external/fonttools/
DNEWS.rst509 letter script codes now. Added ``script_name`` and ``script_code`` functions
DPKG-INFO926 letter script codes now. Added ``script_name`` and ``script_code`` functions
/external/fonttools/Lib/fonttools.egg-info/
DPKG-INFO926 letter script codes now. Added ``script_name`` and ``script_code`` functions