Home
last modified time | relevance | path

Searched refs:toUnicode (Results 1 – 25 of 29) sorted by relevance

12

/external/fonttools/Tests/
Dagl_test.py18 self.assertEqual(agl.toUnicode("Iogonek"), "Į")
19 self.assertEqual(agl.toUnicode("uni20AC0308"), "\u20AC\u0308")
20 self.assertEqual(agl.toUnicode("u1040C"), "\U0001040C")
21 self.assertEqual(agl.toUnicode("uniD801DC0C"), "")
22 self.assertEqual(agl.toUnicode("uni20ac"), "")
24 agl.toUnicode("Iogonek_uni20AC0308_u1040C.alternate"),
26 self.assertEqual(agl.toUnicode("Iogonek_uni012E_u012E"), "ĮĮĮ")
27 self.assertEqual(agl.toUnicode("foo"), "")
28 self.assertEqual(agl.toUnicode(".notdef"), "")
31 self.assertEqual(agl.toUnicode("longs_t"), "ſt")
[all …]
/external/fonttools/Tests/ttLib/tables/
D_n_a_m_e_test.py41 self.assertEqual("Regular", table.getName(2, 1, 0, 0).toUnicode())
42 self.assertEqual("Version 1.000", table.getName(5, 3, 1, 0x409).toUnicode())
43 self.assertEqual("寬鬆", table.getName(276, 1, 2, 0x13).toUnicode())
46 self.assertEqual("緊縮", table.getName(276, 1, 2, 0x13).toUnicode())
196 self.assertEqual("Foo Bold", name.toUnicode())
201 self.assertEqual("Foo Italic", name.toUnicode())
206 self.assertEqual("Foo Italic"+unichr(0x02DA), name.toUnicode())
211 self.assertRaises(UnicodeDecodeError, name.toUnicode)
293 self.assertEqual(name.toUnicode(), unichr(0x2122))
/external/icu/icu4c/source/test/testdata/
Dtest2.ucm34 # toUnicode result is fallback direct
37 # toUnicode result is direct non-BMP code point
53 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
Dtest3.ucm35 # toUnicode result is fallback direct
38 # toUnicode result is direct non-BMP code point
54 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
Dtest1.ucm28 # toUnicode result is fallback direct
31 # toUnicode result is direct non-BMP code point
Dtest4.ucm38 # toUnicode result is fallback direct
41 # toUnicode result is direct non-BMP code point
47 # toUnicode result is surrogate pair: test real pair, single unit, unassigned
Dtest1bmp.ucm30 # toUnicode result is fallback direct
Dconversion.txt51 toUnicode {
DIdnaTestV2.txt25 # Column 2: toUnicode - The result of applying toUnicode to the source,
32 # A blank value means the same as the toUnicode value.
47 # To test for conformance to UTS #46, an implementation will perform the toUnicode, toAsciiN, and
56 # A status in toUnicode, toAsciiN or toAsciiT is indicated by a value in square brackets,
66 # Xn for toUnicode issues (see below)
90 # was formerly being generated in toUnicode due to an empty label.
93 # • an empty label in toUnicode. In this case, it is replaced by X3.
/external/fonttools/Snippets/
Drename-fonts.py51 return family_name_rec.toUnicode()
68 string = name_record.toUnicode()
102 if ps_family_name in rec.toUnicode():
/external/icu/icu4c/source/test/intltest/
Dtestidna.h81 const char* toUnicodeName, TestFunc toUnicode);
113 const char* toUnicodeName, TestFunc toUnicode
Duts46test.cpp962 UnicodeString toUnicode = s16FromField(fields[1]); in idnaTestOneLine() local
963 if (toUnicode.isEmpty()) { in idnaTestOneLine()
964 toUnicode = source; in idnaTestOneLine()
977 toAsciiN = toUnicode; in idnaTestOneLine()
1008 checkIdnaTestResult(fields[0][0], "toUnicodeNontrans", toUnicode, uN, in idnaTestOneLine()
Dtestidna.cpp1159 const char* toUnicodeName, TestFunc toUnicode){ in testChaining() argument
1165 testChaining(buf,5,toUnicodeName, FALSE, FALSE, toUnicode); in testChaining()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_n_a_m_e.py111 unistr = name.toUnicode()
331 def toUnicode(self, errors='strict'): member in NameRecord
401 return self.toUnicode(errors)
405 unistr = self.toUnicode()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DUTS46Test.java781 String toUnicode = Utility.unescape(fields[1].trim()); in IdnaTest() local
782 if (toUnicode.isEmpty()) { in IdnaTest()
783 toUnicode = source; in IdnaTest()
796 toAsciiN = toUnicode; in IdnaTest()
827 … checkIdnaTestResult(line, "toUnicodeNontrans", toUnicode, uN, toUnicodeStatus, uNInfo); in IdnaTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
DUTS46Test.java784 String toUnicode = Utility.unescape(fields[1].trim()); in IdnaTest() local
785 if (toUnicode.isEmpty()) { in IdnaTest()
786 toUnicode = source; in IdnaTest()
799 toAsciiN = toUnicode; in IdnaTest()
830 … checkIdnaTestResult(line, "toUnicodeNontrans", toUnicode, uN, toUnicodeStatus, uNInfo); in IdnaTest()
/external/fonttools/Lib/fontTools/
Dagl.py745 def toUnicode(glyph, isZapfDingbats=False): function
/external/icu/icu4c/source/common/
Ducnv.cpp1272 UConverterToUnicode toUnicode; in _toUnicodeWithCallback() local
1295 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback()
1297 toUnicode=cnv->sharedData->impl->toUnicodeWithOffsets; in _toUnicodeWithCallback()
1298 if(toUnicode==NULL) { in _toUnicodeWithCallback()
1300 toUnicode=cnv->sharedData->impl->toUnicode; in _toUnicodeWithCallback()
1349 toUnicode(pArgs, err); in _toUnicodeWithCallback()
Ducnv_cnv.h242 UConverterToUnicode toUnicode; member
/external/cldr/tools/java/org/unicode/cldr/icu/
DTestCldr.java190 static Transliterator toUnicode = Transliterator.getInstance("any-hex"); field in TestCldr
193 return "\u00AB" + in + "\u00BB (" + toUnicode.transliterate(in) + ")"; in showString()
/external/skia/src/pdf/
DSkPDFFont.cpp395 std::unique_ptr<SkStreamAsset> toUnicode = in emit_subset_type0() local
401 fontDict.insertRef("ToUnicode", SkPDFStreamOut(nullptr, std::move(toUnicode), doc)); in emit_subset_type0()
/external/libxml2/
Dencoding.c106 openIcuConverter(const char* name, int toUnicode) in openIcuConverter() argument
121 if (toUnicode) { in openIcuConverter()
1869 xmlUconvWrapper(uconv_t *cd, int toUnicode, unsigned char *out, int *outlen, in xmlUconvWrapper() argument
1880 if (toUnicode) { in xmlUconvWrapper()
/external/skqp/src/pdf/
DSkPDFFont.cpp404 std::unique_ptr<SkStreamAsset> toUnicode = in emit_subset_type0() local
410 fontDict.insertRef("ToUnicode", SkPDFStreamOut(nullptr, std::move(toUnicode), doc)); in emit_subset_type0()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java5231 char[][] toUnicode = {allFeaturesUTF16, germanUTF16,russianUTF16,japaneseUTF16}; in TestSCSUConverter() local
5235 CharBuffer encoderBuffer = CharBuffer.wrap(toUnicode[i]); in TestSCSUConverter()
/external/fonttools/
DNEWS.rst1027 - Added ``agl.toUnicode`` function to convert AGL-compliant glyph names

12