Home
last modified time | relevance | path

Searched refs:subtable (Results 1 – 25 of 53) sorted by relevance

123

/external/fonttools/Tests/ttLib/tables/
D_c_m_a_p_test.py22 subtable = CmapSubtable.newSubtable(cmapFormat)
23 subtable.platformID, subtable.platEncID, subtable.language = (platformID, platEncID, langID)
24 return subtable
27 subtable = self.makeSubtable(4, 0, 2, 7)
28 self.assertEqual("utf_16_be", subtable.getEncoding())
29 self.assertEqual(True, subtable.isUnicode())
32 subtable = self.makeSubtable(4, 1, 0, 7) # MacRoman
33 self.assertEqual("mac_roman", subtable.getEncoding())
34 self.assertEqual(False, subtable.isUnicode())
37 subtable = self.makeSubtable(4, 1, 0, 37) # Mac Romanian
[all …]
/external/noto-fonts/scripts/
Dcolor_emoji_image_diff.py52 for subtable in lookup.SubTable:
53 if subtable.LookupType == 5:
54 context_subtables.append(subtable)
55 elif subtable.LookupType == 4:
56 ligature_subtables.append(subtable)
58 for subtable in context_subtables:
59 … add_gsub_context_subtable(subtable, gsub.table.LookupList, glyph_to_codepoint_map, codepoint_map)
61 for subtable in ligature_subtables:
62 add_gsub_ligature_subtable(subtable, glyph_to_codepoint_map, codepoint_map)
64 def add_gsub_context_subtable(subtable, lookup_list, glyph_to_codepoint_map, codepoint_map): argument
[all …]
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dbitmap_size_table.cc88 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphOffset() local
89 if (subtable == NULL) { in GlyphOffset()
92 return subtable->GlyphOffset(glyph_id); in GlyphOffset()
96 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphLength() local
97 if (subtable == NULL) { in GlyphLength()
100 return subtable->GlyphLength(glyph_id); in GlyphLength()
112 IndexSubTable* subtable = SearchIndexSubTables(glyph_id); in GlyphFormat() local
113 if (subtable == NULL) { in GlyphFormat()
116 return subtable->image_format(); in GlyphFormat()
160 IndexSubTable* subtable = (*subtable_list)[index]; in BinarySearchIndexSubTables() local
[all …]
/external/fonttools/Tests/mtiLib/data/mti/
Dcmap.txt3 cmap subtable 0
18 end subtable
20 cmap subtable 1
35 end subtable
37 cmap subtable 2
52 end subtable
Dgsubreversechanined.txt25 % subtable
43 % subtable
/external/fonttools/Lib/fontTools/ttLib/tables/
D_k_e_r_n.py19 for subtable in self.kernTables:
20 if subtable.format == format:
21 return subtable
63 subtable = KernTable_format_unkown(subtableFormat)
65 subtable = kern_classes[subtableFormat](apple)
66 subtable.decompile(data[:length], ttFont)
67 self.kernTables.append(subtable)
81 for subtable in self.kernTables:
82 data = data + subtable.compile(ttFont)
88 for subtable in self.kernTables:
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-cmap-table.hh277 accelerator_t (const CmapSubtableFormat4 *subtable) { init (subtable); } in accelerator_t()
280 void init (const CmapSubtableFormat4 *subtable) in init()
282 segCount = subtable->segCountX2 / 2; in init()
283 endCount = subtable->values.arrayZ; in init()
288 glyphIdArrayLength = (subtable->length - 16 - 8 * segCount) / 2; in init()
1082 subtable.sanitize (c, base)); in sanitize()
1099 out->subtable = 0; in copy()
1105 cmapsubtable->serialize (c, it, format, plan, &(src_base+subtable)); in copy()
1116 c->add_link (out->subtable, *objidx, dst_base); in copy()
1123 subtable; /* Byte offset from beginning of table to the subtable for this encoding. */ member
[all …]
Dhb-aat-layout-morx-table.hh972 …const ChainSubtable<Types> *subtable = &StructAfter<ChainSubtable<Types>> (featureZ.as_array (feat… in apply() local
978 if (!(subtable->subFeatureFlags & flags)) in apply()
981 if (!(subtable->get_coverage() & ChainSubtable<Types>::AllDirections) && in apply()
983 bool (subtable->get_coverage() & ChainSubtable<Types>::Vertical)) in apply()
1013 reverse = subtable->get_coverage () & ChainSubtable<Types>::Logical ? in apply()
1014 bool (subtable->get_coverage () & ChainSubtable<Types>::Backwards) : in apply()
1015 bool (subtable->get_coverage () & ChainSubtable<Types>::Backwards) != in apply()
1024 subtable->apply (c); in apply()
1034 subtable = &StructAfter<ChainSubtable<Types>> (*subtable); in apply()
1052 …const ChainSubtable<Types> *subtable = &StructAfter<ChainSubtable<Types>> (featureZ.as_array (feat… in sanitize() local
[all …]
/external/icu/icu4c/source/samples/layout/
Dcmaps.cpp69 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local
91 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10); in createUnicodeMapper()
93 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); in createUnicodeMapper()
98 switch (SWAPW(subtable->format)) { in createUnicodeMapper()
100 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper()
104 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper()
/external/fonttools/Tests/feaLib/data/
DSubstSubtable.fea3 subtable;
5 subtable;
7 subtable;
DChainSubstSubtable.fea3 subtable;
5 subtable;
7 subtable;
DPairPosSubtable.fea11 subtable;
13 subtable;
16 subtable;
DChainPosSubtable.fea3 subtable;
5 subtable;
/external/icu/icu4c/source/test/letest/
Dcmaps.cpp60 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local
124 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); in createUnicodeMapper()
134 le_uint16 tableFormat = SWAPW(subtable->format); in createUnicodeMapper()
139 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper()
143 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper()
152 printf("%s:%d: Unknown format %x.\n", __FILE__, __LINE__, (SWAPW(subtable->format))); in createUnicodeMapper()
/external/icu/icu4c/source/test/perf/leperf/
Dcmaps.cpp64 const CMAPEncodingSubtable *subtable = NULL; in createUnicodeMapper() local
128 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); in createUnicodeMapper()
135 le_uint16 tableFormat = SWAPW(subtable->format); in createUnicodeMapper()
140 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper()
144 const CMAPFormat12Encoding *encoding = (const CMAPFormat12Encoding *) subtable; in createUnicodeMapper()
153 printf("%s:%d: Unknown format %x.\n", __FILE__, __LINE__, (SWAPW(subtable->format))); in createUnicodeMapper()
/external/fonttools/Tests/
Dmerge_test.py64 subtable = module.cmap_classes[format](format)
65 (subtable.platformID,
66 subtable.platEncID,
67 subtable.language,
68 subtable.cmap) = (platformID, platEncID, 0, cmap)
69 return subtable
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DValidIdentifiers.java183 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
184 if (subtable != null) {
186 ValiditySet validitySet = subtable.get(datasubtype);
198 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
199 if (subtable != null) {
203 ValiditySet validitySet = subtable.get(datasubtype);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DValidIdentifiers.java172 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
173 if (subtable != null) {
175 ValiditySet validitySet = subtable.get(datasubtype);
187 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
188 if (subtable != null) {
192 ValiditySet validitySet = subtable.get(datasubtype);
/external/noto-fonts/emoji-compat/
Dcreatefont.py537 for subtable in lookup.SubTable:
538 if subtable.LookupType == 5:
539 context_subtables.append(subtable)
540 elif subtable.LookupType == 4:
541 ligature_subtables.append(subtable)
543 for subtable in context_subtables:
544 self.add_gsub_context_subtable(subtable, gsub.table.LookupList, glyph_to_codepoint_map)
546 for subtable in ligature_subtables:
547 self.add_gsub_ligature_subtable(subtable, glyph_to_codepoint_map)
549 def add_gsub_context_subtable(self, subtable, lookup_list, glyph_to_codepoint_map): argument
[all …]
/external/arm-trusted-firmware/lib/xlat_tables_v2/
Dxlat_tables_core.c362 uint64_t *subtable; in xlat_tables_unmap_region() local
393 subtable = (uint64_t *)(uintptr_t)(desc & TABLE_ADDR_MASK); in xlat_tables_unmap_region()
397 subtable, XLAT_TABLE_ENTRIES, in xlat_tables_unmap_region()
400 xlat_clean_dcache_range((uintptr_t)subtable, in xlat_tables_unmap_region()
406 if (xlat_table_is_empty(ctx, subtable)) { in xlat_tables_unmap_region()
580 uint64_t *subtable; in xlat_tables_map_region() local
612 subtable = xlat_table_get_empty(ctx); in xlat_tables_map_region()
613 if (subtable == NULL) { in xlat_tables_map_region()
620 TABLE_DESC | (uintptr_t)subtable; in xlat_tables_map_region()
624 subtable, XLAT_TABLE_ENTRIES, in xlat_tables_map_region()
[all …]
/external/google-breakpad/src/third_party/libdisasm/
Dia32_insn.c379 unsigned int subtable, prefix = 0, recurse_table = 0; in ia32_table_lookup() local
436 subtable = (*raw_insn)->table; in ia32_table_lookup()
438 if ( subtable && ia32_tables[subtable].type != tbl_suffix && in ia32_table_lookup()
441 if ( ia32_tables[subtable].type == tbl_ext_ext || in ia32_table_lookup()
442 ia32_tables[subtable].type == tbl_fpu_ext ) { in ia32_table_lookup()
459 sub_size = ia32_table_lookup( next, next_len, subtable, in ia32_table_lookup()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_binning.c52 const struct si_bin_size_map *subtable = &table[log_num_rb_per_se][log_num_se][0]; in si_find_bin_size() local
54 for (i = 0; subtable[i].bin_size_x != 0; i++) { in si_find_bin_size()
55 if (sum >= subtable[i].start && sum < subtable[i + 1].start) in si_find_bin_size()
59 struct uvec2 size = {subtable[i].bin_size_x, subtable[i].bin_size_y}; in si_find_bin_size()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DLookup.java59 public void addSubtable(LookupSubtable subtable) in addSubtable() argument
68 subtables[subtableCount] = subtable; in addSubtable()
/external/fonttools/Tests/otlLib/
Dbuilder_test.py813 subtable = builder.buildPairPosClassesSubtable(
821 assert getXML(subtable.toXML) == [
916 subtable = builder.buildPairPosGlyphsSubtable(
926 assert getXML(subtable.toXML) == [
1011 subtable = builder.buildSinglePosSubtable(
1018 assert getXML(subtable.toXML) == [
1030 subtable = builder.buildSinglePosSubtable(
1037 assert getXML(subtable.toXML) == [
/external/freetype/src/gxvalid/
DREADME256 1 font includes too-short kern format 3 subtable.
396 undocumented difference. In the new version, the subtable header
400 The new version can store all subtable formats (0, 1, 2, and 3),
401 but the Apple TrueType specification does not mention the subtable
404 5-2-2. Available subtable formats in classic version
410 subtable formats in the classic version.
412 According to the Microsoft TrueType specification, the subtable
413 format assured for Windows and OS/2 support is only subtable
415 subtable format 2, but does not mention which platforms support
417 for future use. Therefore, the classic version can store subtable
[all …]

123