Home
last modified time | relevance | path

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

12

/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 …]
D_k_e_r_n_test.py378 subtable = KernTable_format_0()
379 subtable.decompile(
385 assert subtable[("B", "D")] == 1
386 assert subtable[("B", "glyph65535")] == 2
/external/harfbuzz_ng/src/
Dhb-ot-cmap-table.hh230 accelerator_t (const CmapSubtableFormat4 *subtable) { init (subtable); } in accelerator_t()
233 void init (const CmapSubtableFormat4 *subtable) in init()
235 segCount = subtable->segCountX2 / 2; in init()
236 endCount = subtable->values.arrayZ; in init()
241 glyphIdArrayLength = (subtable->length - 16 - 8 * segCount) / 2; in init()
831 subtable.sanitize (c, base)); in sanitize()
837 subtable; /* Byte offset from beginning of table to the subtable for this encoding. */ member
906 CmapSubtable &subtable = format4_plat0_rec.subtable.serialize (&c, table); in _subset() local
907 format4_plat3_rec.subtable.set (format4_plat0_rec.subtable); in _subset()
908 subtable.u.format.set (4); in _subset()
[all …]
Dhb-aat-layout-morx-table.hh985 …const ChainSubtable<Types> *subtable = &StructAfter<ChainSubtable<Types> > (featureZ.as_array (fea… in apply() local
991 if (!(subtable->subFeatureFlags & flags)) in apply()
994 if (!(subtable->get_coverage() & ChainSubtable<Types>::AllDirections) && in apply()
996 bool (subtable->get_coverage() & ChainSubtable<Types>::Vertical)) in apply()
1026 reverse = subtable->get_coverage () & ChainSubtable<Types>::Logical ? in apply()
1027 bool (subtable->get_coverage () & ChainSubtable<Types>::Backwards) : in apply()
1028 bool (subtable->get_coverage () & ChainSubtable<Types>::Backwards) != in apply()
1037 subtable->apply (c); in apply()
1047 subtable = &StructAfter<ChainSubtable<Types> > (*subtable); in apply()
1065 …const ChainSubtable<Types> *subtable = &StructAfter<ChainSubtable<Types> > (featureZ.as_array (fea… in sanitize() local
[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/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/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/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/
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/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/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_binning.c55 const struct si_bin_size_map *subtable = in si_find_bin_size() local
58 for (i = 0; subtable[i].start != UINT_MAX; i++) { in si_find_bin_size()
59 if (sum >= subtable[i].start && sum < subtable[i + 1].start) in si_find_bin_size()
63 struct uvec2 size = {subtable[i].bin_size_x, subtable[i].bin_size_y}; in si_find_bin_size()
/external/noto-fonts/emoji-compat/
Dcreatefont.py508 for subtable in lookup.SubTable:
509 if subtable.LookupType == 5:
510 context_subtables.append(subtable)
511 elif subtable.LookupType == 4:
512 ligature_subtables.append(subtable)
514 for subtable in context_subtables:
515 self.add_gsub_context_subtable(subtable, gsub.table.LookupList, glyph_to_codepoint_map)
517 for subtable in ligature_subtables:
518 self.add_gsub_ligature_subtable(subtable, glyph_to_codepoint_map)
520 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.java182 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
183 if (subtable != null) {
185 ValiditySet validitySet = subtable.get(datasubtype);
197 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
198 if (subtable != null) {
202 ValiditySet validitySet = subtable.get(datasubtype);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DValidIdentifiers.java171 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
172 if (subtable != null) {
174 ValiditySet validitySet = subtable.get(datasubtype);
186 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype);
187 if (subtable != null) {
191 ValiditySet validitySet = subtable.get(datasubtype);
/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/fonttools/Tests/otlLib/
Dbuilder_test.py779 subtable = builder.buildPairPosClassesSubtable({
784 self.assertEqual(getXML(subtable.toXML),
871 subtable = builder.buildPairPosGlyphsSubtable({
876 self.assertEqual(getXML(subtable.toXML),
956 subtable = builder.buildSinglePosSubtable({
960 self.assertEqual(getXML(subtable.toXML),
971 subtable = builder.buildSinglePosSubtable({
975 self.assertEqual(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 …]
/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/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]

12