Home
last modified time | relevance | path

Searched refs:unicodes (Results 1 – 25 of 33) sorted by relevance

12

/external/freetype/src/cff/
Dcffcmap.c147 cff_cmap_unicode_init( PS_Unicodes unicodes, in cff_cmap_unicode_init() argument
150 TT_Face face = (TT_Face)FT_CMAP_FACE( unicodes ); in cff_cmap_unicode_init()
165 unicodes, in cff_cmap_unicode_init()
174 cff_cmap_unicode_done( PS_Unicodes unicodes ) in cff_cmap_unicode_done() argument
176 FT_Face face = FT_CMAP_FACE( unicodes ); in cff_cmap_unicode_done()
180 FT_FREE( unicodes->maps ); in cff_cmap_unicode_done()
181 unicodes->num_maps = 0; in cff_cmap_unicode_done()
186 cff_cmap_unicode_char_index( PS_Unicodes unicodes, in cff_cmap_unicode_char_index() argument
189 TT_Face face = (TT_Face)FT_CMAP_FACE( unicodes ); in cff_cmap_unicode_char_index()
194 return psnames->unicodes_char_index( unicodes, char_code ); in cff_cmap_unicode_char_index()
[all …]
/external/freetype/src/psaux/
Dt1cmap.c298 t1_cmap_unicode_init( PS_Unicodes unicodes, in t1_cmap_unicode_init() argument
301 T1_Face face = (T1_Face)FT_CMAP_FACE( unicodes ); in t1_cmap_unicode_init()
309 unicodes, in t1_cmap_unicode_init()
318 t1_cmap_unicode_done( PS_Unicodes unicodes ) in t1_cmap_unicode_done() argument
320 FT_Face face = FT_CMAP_FACE( unicodes ); in t1_cmap_unicode_done()
324 FT_FREE( unicodes->maps ); in t1_cmap_unicode_done()
325 unicodes->num_maps = 0; in t1_cmap_unicode_done()
330 t1_cmap_unicode_char_index( PS_Unicodes unicodes, in t1_cmap_unicode_char_index() argument
333 T1_Face face = (T1_Face)FT_CMAP_FACE( unicodes ); in t1_cmap_unicode_char_index()
337 return psnames->unicodes_char_index( unicodes, char_code ); in t1_cmap_unicode_char_index()
[all …]
/external/harfbuzz_ng/test/subset/
Dgenerate-expected-outputs.py18 def generate_expected_output(input_file, unicodes, profile_flags, output_path): argument
26 "--unicodes=%s" % unicodes,
42 unicodes = test.unicodes() variable
45 generate_expected_output(test.font_path, unicodes, test.get_profile_flags(),
Dsubset_test_suite.py14 def unicodes(self): member in Test
28 self.unicodes(),
Drun-tests.py58 print (' test.unicodes %s' % test.unicodes ())
69 "--unicodes=%s" % test.unicodes ()]
/external/harfbuzz_ng/test/shaping/
Drun-tests.py64 fontfile, options, unicodes, glyphs_expected = line.split (":") variable
90 print ('# %s "%s" --unicodes %s' % (hb_shape, fontfile, unicodes))
95 (hb_shape, fontfile, ' '.join(extra_options), options, unicodes))
105 unicodes] + (options.split (' ') if options else []))
109 unicodes] + (options.split (' ') if options else []))
119 print (":".join ([fontfile, options, unicodes, glyphs1]))
Drecord-test.sh44 unicodes=`echo "$text" | ./hb-unicode-decode`
100 echo "$unicodes" > "$unicodes_file"
Dhb_test_tools.py309 self.unicodes = None
329 self.unicodes = Unicode.parse (l)
/external/harfbuzz_ng/src/
Dhb-subset-plan.cc98 const hb_set_t *unicodes, in _populate_gids_to_retain() argument
115 while (unicodes->next (&cp)) in _populate_gids_to_retain()
186 plan->unicodes = hb_set_create(); in hb_subset_plan_create()
193 input->unicodes, in hb_subset_plan_create()
195 plan->unicodes, in hb_subset_plan_create()
214 hb_set_destroy (plan->unicodes); in hb_subset_plan_destroy()
Dhb-subset-input.cc45 input->unicodes = hb_set_create (); in hb_subset_input_create_or_fail()
79 hb_set_destroy (subset_input->unicodes); in hb_subset_input_destroy()
94 return subset_input->unicodes; in hb_subset_input_unicode_set()
Dhb-subset-input.hh41 hb_set_t *unicodes; member
Dhb-ot-os2-table.hh162 find_min_and_max_codepoint (plan->unicodes, &min_cp, &max_cp); in subset()
166 _update_unicode_ranges (plan->unicodes, os2_prime->ulUnicodeRange); in subset()
Dhb-subset-plan.hh46 hb_set_t *unicodes; member
/external/fonttools/Snippets/
Dsvg2glif.py18 def svg2glif(svg, name, width=0, height=0, unicodes=None, transform=None, argument
26 glyph = SimpleNamespace(width=width, height=height, unicodes=unicodes) unknown
113 unicodes=options.unicodes,
/external/fonttools/Lib/fontTools/ttLib/tables/
DO_S_2f_2.py291 unicodes = set()
294 unicodes.update(table.cmap.keys())
296 empty = intersectUnicodeRanges(unicodes, inverse=True)
299 bits = intersectUnicodeRanges(unicodes)
497 def intersectUnicodeRanges(unicodes, inverse=False): argument
511 unicodes = set(unicodes)
515 if not unirange.isdisjoint(unicodes) ^ inverse])
/external/fonttools/Lib/fontTools/
Dunicode.py7 unicodes = {}
13 unicodes[num] = name
14 return unicodes
/external/freetype/include/freetype/internal/services/
Dsvpscmap.h91 PS_Unicodes unicodes,
98 (*PS_Unicodes_CharIndexFunc)( PS_Unicodes unicodes,
102 (*PS_Unicodes_CharNextFunc)( PS_Unicodes unicodes,
/external/fonttools/Lib/fontTools/ufoLib/
DglifLib.py467 unicodes = {}
472 unicodes[glyphName] = _fetchUnicodes(text)
473 return unicodes
685 unicodes = getattr(glyphObject, "unicodes", None)
686 if validate and isinstance(unicodes, integerTypes):
687 unicodes = [unicodes]
689 for code in unicodes:
905 unicodes = []
929 if v not in unicodes:
930 unicodes.append(v)
[all …]
/external/pdfium/fpdfsdk/
Dfpdfedittext.cpp166 std::vector<uint32_t> unicodes; in LoadUnicode() local
167 unicodes.push_back(firstUnicode); in LoadUnicode()
168 unicodes.push_back(curUnicode); in LoadUnicode()
174 unicodes.push_back(iter->second); in LoadUnicode()
177 ASSERT(iter->first - firstCharcode + 1 == unicodes.size()); in LoadUnicode()
178 map_range_vector[std::make_pair(firstCharcode, iter->first)] = unicodes; in LoadUnicode()
213 const std::vector<uint32_t>& unicodes = iter.second; in LoadUnicode() local
214 for (size_t i = 0; i < unicodes.size(); ++i) { in LoadUnicode()
215 uint32_t uni = unicodes[i]; in LoadUnicode()
217 if (i != unicodes.size() - 1) in LoadUnicode()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DStatisticsTool.java234 char[] unicodes = inputFile.decode(allBytes); in writeStatistics() local
237 char unicode = unicodes[b]; in writeStatistics()
242 unicodes[b] = Character.toLowerCase(unicode); in writeStatistics()
246 unicodes[b] = ' '; in writeStatistics()
251 unicodes[b] = '\0'; in writeStatistics()
255 byte[] byteMap = inputFile.encode(unicodes); in writeStatistics()
/external/fonttools/Tests/ufoLib/
DglifLib_test.py102 unicodes = src.getUnicodes()
107 self.assertEqual(unicodes[glyphName], [])
109 self.assertEqual(g.unicodes, unicodes[glyphName])
151 glyph.unicodes = [0x0061]
DtestSupport.py31 self.unicodes = None
76 if self.unicodes is not None:
77 text.append("glyph.unicodes = [%s]" % ", ".join([str(i) for i in self.unicodes]))
/external/freetype/src/sfnt/
Dttcmap.c3674 tt_cmap_unicode_init( PS_Unicodes unicodes, in tt_cmap_unicode_init() argument
3677 TT_Face face = (TT_Face)FT_CMAP_FACE( unicodes ); in tt_cmap_unicode_init()
3685 unicodes, in tt_cmap_unicode_init()
3694 tt_cmap_unicode_done( PS_Unicodes unicodes ) in tt_cmap_unicode_done() argument
3696 FT_Face face = FT_CMAP_FACE( unicodes ); in tt_cmap_unicode_done()
3700 FT_FREE( unicodes->maps ); in tt_cmap_unicode_done()
3701 unicodes->num_maps = 0; in tt_cmap_unicode_done()
3706 tt_cmap_unicode_char_index( PS_Unicodes unicodes, in tt_cmap_unicode_char_index() argument
3709 TT_Face face = (TT_Face)FT_CMAP_FACE( unicodes ); in tt_cmap_unicode_char_index()
3713 return psnames->unicodes_char_index( unicodes, char_code ); in tt_cmap_unicode_char_index()
[all …]
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py944 unicodes = glyphElement.attrib.get('unicode')
945 if unicodes is not None:
947 unicodes = [int(u, 16) for u in unicodes.split(" ")]
948 glyphData['unicodes'] = unicodes
950 raise DesignSpaceDocumentError("unicode values %s are not integers" % unicodes)
/external/fonttools/Tests/designspaceLib/
Ddesignspace_test.py126 glyphData = dict(name="arrow", mute=True, unicodes=[0x123, 0x124, 0x125])
143 glyphData = dict(name="arrow", unicodes=[101, 201, 301])
220 glyphData = dict(name="arrow", mute=True, unicodes=[100, 200, 300])
289 glyphData = dict(name="arrow", mute=True, unicodes=[0x123])

12