Home
last modified time | relevance | path

Searched refs:loca_table (Results 1 – 9 of 9) sorted by relevance

/external/sfntly/cpp/src/sfntly/tools/subsetter/
Dglyph_table_subsetter.cc47 LocaTablePtr loca_table = down_cast<LocaTable*>(font->GetTable(Tag::loca)); in Subset() local
48 if (glyph_table == NULL || loca_table == NULL) { in Subset()
72 int old_offset = loca_table->GlyphOffset(*old_glyph_id); in Subset()
73 int old_length = loca_table->GlyphLength(*old_glyph_id); in Subset()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc202 LocaTable* loca_table, in ResolveCompositeGlyphs() argument
206 if (glyph_table == NULL || loca_table == NULL || in ResolveCompositeGlyphs()
224 if (*i < 0 || *i >= loca_table->num_glyphs()) { in ResolveCompositeGlyphs()
229 int32_t length = loca_table->GlyphLength(*i); in ResolveCompositeGlyphs()
234 int32_t offset = loca_table->GlyphOffset(*i); in ResolveCompositeGlyphs()
267 LocaTable* loca_table, in SetupGlyfBuilders() argument
269 if (!font_builder || !glyph_table || !loca_table) { in SetupGlyfBuilders()
284 loca_list.resize(loca_table->num_glyphs()); in SetupGlyfBuilders()
292 int32_t length = loca_table->GlyphLength(*i); in SetupGlyfBuilders()
293 int32_t offset = loca_table->GlyphOffset(*i); in SetupGlyfBuilders()
[all …]
/external/sfntly/cpp/src/sample/subtly/
Dfont_assembler.cc158 Ptr<LocaTable> loca_table = in AssembleGlyphAndLocaTables() local
160 int32_t current_size = loca_table->header_length(); in AssembleGlyphAndLocaTables()
187 Ptr<LocaTable> loca_table = in AssembleGlyphAndLocaTables() local
190 int32_t length = loca_table->GlyphLength(resolved_glyph_id); in AssembleGlyphAndLocaTables()
191 int32_t offset = loca_table->GlyphOffset(resolved_glyph_id); in AssembleGlyphAndLocaTables()
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh761 loca_table = nullptr; in init()
770 loca_table = hb_sanitize_context_t ().reference_table<loca> (face); in init()
773 num_glyphs = hb_max (1u, loca_table.get_length () / (short_offset ? 2 : 4)) - 1; in init()
778 loca_table.destroy (); in fini()
1009 const HBUINT16 *offsets = (const HBUINT16 *) loca_table->dataZ.arrayZ; in glyph_for_gid()
1015 const HBUINT32 *offsets = (const HBUINT32 *) loca_table->dataZ.arrayZ; in glyph_for_gid()
1045 hb_blob_ptr_t<loca> loca_table; member
/external/freetype/src/sfnt/
Dsfwoff2.c890 if ( info->loca_table->dst_length != expected_loca_length ) in reconstruct_glyf()
1205 info->loca_table->dst_offset = dest_offset; in reconstruct_glyf()
1220 info->loca_table->dst_length = dest_offset - info->loca_table->dst_offset; in reconstruct_glyf()
1223 FT_TRACE4(( " dst_offset = %lu\n", info->loca_table->dst_offset )); in reconstruct_glyf()
1224 FT_TRACE4(( " dst_length = %lu\n", info->loca_table->dst_length )); in reconstruct_glyf()
1292 if ( !info->loca_table ) in get_x_mins()
1321 loca_offset = info->loca_table->src_offset; in get_x_mins()
1539 info->loca_table = find_table( indices, num_tables, TTAG_loca ); in reconstruct_font()
1541 if ( ( info->glyf_table == NULL ) ^ ( info->loca_table == NULL ) ) in reconstruct_font()
1551 ( info->loca_table->flags & WOFF2_FLAGS_TRANSFORM ) ) in reconstruct_font()
/external/freetype/include/freetype/internal/
Dwofftypes.h245 WOFF2_Table loca_table; member
/external/skia/third_party/sfntly/
DBUILD.gn72 "$_src/sfntly/table/truetype/loca_table.cc",
/external/skqp/third_party/sfntly/
DBUILD.gn67 "../externals/sfntly/cpp/src/sfntly/table/truetype/loca_table.cc",
/external/freetype/
DChangeLog1288 `glyf_table', `loca_table', and `head_table'.