/external/sfntly/cpp/src/test/ |
D | verify_hmtx.cc | 50 HorizontalMetricsTablePtr hmtx = down_cast<HorizontalMetricsTable*>(table); in VerifyHMTX() local 51 if (hmtx == NULL) { in VerifyHMTX() 55 EXPECT_EQ(hmtx->NumberOfHMetrics(), HMTX_ENTRIES_COUNT); in VerifyHMTX() 56 EXPECT_EQ(hmtx->NumberOfLSBs(), HMTX_LSB_COUNT); in VerifyHMTX() 59 EXPECT_EQ(hmtx->AdvanceWidth(i), HMTX_ENTRIES[i].advance_width_); in VerifyHMTX() 60 EXPECT_EQ(hmtx->LeftSideBearing(i), HMTX_ENTRIES[i].lsb_); in VerifyHMTX() 64 EXPECT_EQ(hmtx->AdvanceWidth(HMTX_ENTRIES_COUNT), in VerifyHMTX() 66 EXPECT_EQ(hmtx->LeftSideBearing(HMTX_ENTRIES_COUNT), HMTX_ENTRIES[0].lsb_); in VerifyHMTX()
|
D | test_data.cc | 41 Tag::glyf, Tag::head, Tag::hhea, Tag::hmtx, Tag::kern, 48 Tag::glyf, Tag::hdmx, Tag::head, Tag::hhea, Tag::hmtx,
|
D | serialization_test.cc | 78 } else if (TTF_KNOWN_TAGS[i] == Tag::hmtx) { in TestSerialization()
|
/external/harfbuzz_ng/test/api/ |
D | test-subset-drop-tables.c | 48 hb_blob_t *hmtx = hb_face_reference_table (subset, HB_TAG ('h', 'm', 't', 'x')); in test_subset_drop_tables() local 51 g_assert (!hb_blob_get_length (hmtx)); in test_subset_drop_tables() 54 hb_blob_destroy (hmtx); in test_subset_drop_tables()
|
D | Makefile.am | 48 test-subset-hmtx \
|
/external/fonttools/Tests/subset/ |
D | subset_test.py | 595 hmtx = subsetfont["hmtx"] 596 self.assertEqual(hmtx["A"], ( 0, 0)) 597 self.assertEqual(hmtx["B"], (400, 132)) 631 hmtx = subsetfont["hmtx"] 632 self.assertEqual(hmtx["A"], (0, 0)) 633 self.assertEqual(hmtx["B"], (400, 132)) 666 hmtx = subsetfont["hmtx"] 667 self.assertEqual(hmtx["glyph00001"], ( 0, 0)) 668 self.assertEqual(hmtx["T"], (600, 41))
|
/external/harfbuzz_ng/src/ |
D | hb-ot-hmtx-table.hh | 323 struct hmtx : hmtxvmtx<hmtx, hhea> { struct 334 struct hmtx_accelerator_t : hmtx::accelerator_t {};
|
D | hb-ot-font.cc | 111 const OT::hmtx_accelerator_t &hmtx = *ot_face->hmtx; in hb_ot_get_glyph_h_advances() local 115 *first_advance = font->em_scale_x (hmtx.get_advance (*first_glyph, font)); in hb_ot_get_glyph_h_advances()
|
D | hb-ot-face-table-list.hh | 54 HB_OT_ACCELERATOR (OT, hmtx)
|
D | hb-ot-glyf-table.hh | 403 extents->x_bearing = font->em_scale_x (font->face->table.hmtx->get_side_bearing (gid)); in get_extents() 796 int h_delta = (int) glyph.get_header ().xMin - face->table.hmtx->get_side_bearing (gid); in init_phantom_points() 798 unsigned int h_adv = face->table.hmtx->get_advance (gid); in init_phantom_points() 966 return is_vertical ? face->table.vmtx->get_advance (gid) : face->table.hmtx->get_advance (gid); in get_advance_var() 981 …return is_vertical ? face->table.vmtx->get_side_bearing (gid) : face->table.hmtx->get_side_bearing… in get_side_bearing_var()
|
D | hb-subset.cc | 177 result = _subset2<const OT::hmtx> (plan); in _subset_table()
|
D | Makefile.sources | 78 hb-ot-hmtx-table.hh \
|
/external/sfntly/cpp/src/sfntly/ |
D | tag.cc | 30 const int32_t Tag::hmtx = TAG('h', 'm', 't', 'x'); member in sfntly::Tag 91 Tag::hmtx,
|
D | tag.h | 36 static const int32_t hmtx; member
|
D | font.cc | 444 Table::Builder* raw_hmtx_builder = GetReadBuilder(builder_map, Tag::hmtx); in InterRelateBuilders()
|
/external/harfbuzz_ng/test/api/fonts/ |
D | README | 3 Inconsolata-Regular.abc.widerc.ttf has the hmtx width of "c" set to 600; everything else is 500. Su…
|
/external/fonttools/Lib/fontTools/cffLib/ |
D | width.py | 158 hmtx = font['hmtx'] variable 159 widths = [m[0] for m in hmtx.metrics.values()]
|
/external/fonttools/Lib/fontTools/varLib/ |
D | mutator.py | 114 hmtx = varfont['hmtx'] 122 entry = list(hmtx[gname]) 149 hmtx[gname] = tuple(entry)
|
/external/fonttools/Tests/varLib/ |
D | instancer_test.py | 152 hmtx = varfont["hmtx"] 166 assert hmtx["hyphen"] == (322, 40) 171 assert hmtx["minus"] == (422, 40) 193 assert hmtx["hyphen"] == (263, 26) 196 assert hmtx["minus"] == (422, 26) # 'minus' left sidebearing changed
|
/external/sfntly/cpp/src/sfntly/table/ |
D | table.cc | 95 } else if (tag == Tag::hmtx) { in GetBuilder()
|
/external/u-boot/drivers/video/ |
D | stb_truetype.h | 642 int loca,head,glyf,hhea,hmtx,kern; // table locations as offset from start of .ttf member 1035 info->hmtx = stbtt__find_table(data, fontstart, "hmtx"); // required in stbtt_InitFont() 1037 if (!cmap || !info->loca || !info->head || !info->glyf || !info->hhea || !info->hmtx) in stbtt_InitFont() 1475 if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); in stbtt_GetGlyphHMetrics() 1476 if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*glyph_index + 2); in stbtt_GetGlyphHMetrics() 1478 …if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-… in stbtt_GetGlyphHMetrics() 1479 …if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*numOfLongHorMetrics +… in stbtt_GetGlyphHMetrics()
|
/external/freetype/src/sfnt/ |
D | sfobjs.c | 873 LOADM_( hmtx, 0 ); in sfnt_load_face() 927 LOADM_( hmtx, 1 ); in sfnt_load_face()
|
/external/mesa3d/src/imgui/ |
D | imstb_truetype.h | 722 int loca,head,glyf,hhea,hmtx,kern,gpos; // table locations as offset from start of .ttf member 1364 info->hmtx = stbtt__find_table(data, fontstart, "hmtx"); // required in stbtt_InitFont_internal() 1368 if (!cmap || !info->head || !info->hhea || !info->hmtx) in stbtt_InitFont_internal() 2277 if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*glyph_index); in stbtt_GetGlyphHMetrics() 2278 if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*glyph_index + 2); in stbtt_GetGlyphHMetrics() 2280 …if (advanceWidth) *advanceWidth = ttSHORT(info->data + info->hmtx + 4*(numOfLongHorMetrics-… in stbtt_GetGlyphHMetrics() 2281 …if (leftSideBearing) *leftSideBearing = ttSHORT(info->data + info->hmtx + 4*numOfLongHorMetrics +… in stbtt_GetGlyphHMetrics()
|
/external/skia/third_party/harfbuzz/ |
D | BUILD.gn | 143 "$_src/hb-ot-hmtx-table.hh",
|
/external/fonttools/ |
D | NEWS.rst | 35 ``glyf`` and ``loca`` tables, as well as with transformed ``hmtx`` table. 234 - [hmtx/vmtx]: Allow to compile/decompile ``hmtx`` and ``vmtx`` tables even 1112 - [hmtx/vmts] Read advance width/heights as unsigned short (uint16); 1296 - Fixed bug in hmtx/vmtx code that only occured if all advances were
|