Home
last modified time | relevance | path

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

123

/external/fonttools/Tests/ttLib/tables/
D_c_m_a_p_test.py24 subtable = CmapSubtable.newSubtable(cmapFormat)
25 subtable.platformID, subtable.platEncID, subtable.language = (platformID, platEncID, langID)
26 return subtable
29 subtable = self.makeSubtable(4, 0, 2, 7)
30 self.assertEqual("utf_16_be", subtable.getEncoding())
31 self.assertEqual(True, subtable.isUnicode())
34 subtable = self.makeSubtable(4, 1, 0, 7) # MacRoman
35 self.assertEqual("mac_roman", subtable.getEncoding())
36 self.assertEqual(False, subtable.isUnicode())
39 subtable = self.makeSubtable(4, 1, 0, 37) # Mac Romanian
[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/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/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.py21 for subtable in self.kernTables:
22 if subtable.format == format:
23 return subtable
65 subtable = KernTable_format_unkown(subtableFormat)
67 subtable = kern_classes[subtableFormat](apple)
68 subtable.decompile(data[:length], ttFont)
69 self.kernTables.append(subtable)
83 for subtable in self.kernTables:
84 data = data + subtable.compile(ttFont)
90 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/fonttools/Tests/
Dmerge_test.py60 subtable = module.cmap_classes[format](format)
61 (subtable.platformID,
62 subtable.platEncID,
63 subtable.language,
64 subtable.cmap) = (platformID, platEncID, 0, cmap)
65 return subtable
/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/
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/noto-fonts/emoji-compat/
Dcreatefont.py518 for subtable in lookup.SubTable:
519 if subtable.LookupType == 5:
520 context_subtables.append(subtable)
521 elif subtable.LookupType == 4:
522 ligature_subtables.append(subtable)
524 for subtable in context_subtables:
525 self.add_gsub_context_subtable(subtable, gsub.table.LookupList, glyph_to_codepoint_map)
527 for subtable in ligature_subtables:
528 self.add_gsub_ligature_subtable(subtable, glyph_to_codepoint_map)
530 def add_gsub_context_subtable(self, subtable, lookup_list, glyph_to_codepoint_map): argument
[all …]
/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/arm-trusted-firmware/lib/xlat_tables_v2/
Dxlat_tables_core.c353 uint64_t *subtable; in xlat_tables_unmap_region() local
384 subtable = (uint64_t *)(uintptr_t)(desc & TABLE_ADDR_MASK); in xlat_tables_unmap_region()
388 subtable, XLAT_TABLE_ENTRIES, in xlat_tables_unmap_region()
391 xlat_clean_dcache_range((uintptr_t)subtable, in xlat_tables_unmap_region()
397 if (xlat_table_is_empty(ctx, subtable)) { in xlat_tables_unmap_region()
571 uint64_t *subtable; in xlat_tables_map_region() local
603 subtable = xlat_table_get_empty(ctx); in xlat_tables_map_region()
604 if (subtable == NULL) { in xlat_tables_map_region()
611 TABLE_DESC | (uintptr_t)subtable; in xlat_tables_map_region()
615 subtable, XLAT_TABLE_ENTRIES, in xlat_tables_map_region()
[all …]
/external/fonttools/Tests/otlLib/
Dbuilder_test.py819 subtable = builder.buildPairPosClassesSubtable(
827 assert getXML(subtable.toXML) == [
915 subtable = builder.buildPairPosGlyphsSubtable(
923 assert getXML(subtable.toXML) == [
1006 subtable = builder.buildSinglePosSubtable(
1013 assert getXML(subtable.toXML) == [
1025 subtable = builder.buildSinglePosSubtable(
1032 assert getXML(subtable.toXML) == [
/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/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 …]
/external/fonttools/Lib/fontTools/
Dmerge.py400 for subtable in table.tables:
401 properties = (subtable.format, subtable.platformID, subtable.platEncID)
403 format4 = subtable
405 format12 = subtable
410 fontIdx, subtable.format, subtable.platformID, subtable.platEncID
668 subtable = otTables.SingleSubst()
669 subtable.mapping = dups
674 synthLookup.SubTable = [subtable]

123