HomeSort by relevance Sort by last modified time
    Searched refs:loca (Results 1 - 25 of 29) sorted by null

1 2

  /external/sfntly/cpp/src/test/
verify_loca.cc 41 LocaTablePtr loca = down_cast<LocaTable*>(table); local
42 if (loca == NULL) {
46 EXPECT_EQ(loca->NumLocas(), LOCA_NUM_LOCAS);
47 EXPECT_EQ(loca->num_glyphs(), LOCA_NUM_LOCAS - 1);
50 EXPECT_EQ(loca->GlyphOffset(i), LOCAS[i]);
51 EXPECT_EQ(loca->GlyphLength(i), LOCAS[i + 1] - LOCAS[i]);
test_data.cc 42 Tag::loca, Tag::maxp, Tag::morx, Tag::name, Tag::post,
49 Tag::loca, Tag::maxp, Tag::name, Tag::post, Tag::prep };
serialization_test.cc 80 } else if (TTF_KNOWN_TAGS[i] == Tag::loca) {
  /external/sfntly/cpp/src/sfntly/table/bitmap/
index_sub_table_format1.cc 43 int32_t loca = CheckGlyphRange(glyph_id); local
44 if (loca == -1) {
47 return Loca(loca);
51 int32_t loca = CheckGlyphRange(glyph_id); local
52 if (loca == -1) {
55 return Loca(loca + 1) - Loca(loca);
81 int32_t loca = CheckGlyphRange(glyph_id); local
90 int32_t loca = CheckGlyphRange(glyph_id); local
    [all...]
index_sub_table_format3.cc 33 int32_t loca = CheckGlyphRange(glyph_id); local
34 if (loca != -1) {
35 return Loca(loca);
41 int32_t loca = CheckGlyphRange(glyph_id); local
42 if (loca != -1) {
43 return Loca(glyph_id + 1) - Loca(glyph_id);
64 int32_t IndexSubTableFormat3::Loca(int32_t loca) {
82 int32_t loca = CheckGlyphRange(glyph_id); local
90 int32_t loca = CheckGlyphRange(glyph_id); local
    [all...]
index_sub_table_format2.cc 46 int32_t loca = CheckGlyphRange(glyph_id); local
47 if (loca == -1) {
50 return loca * image_size_;
79 int32_t loca = CheckGlyphRange(glyph_id); local
80 if (loca == -1) {
83 return loca * ImageSize();
87 int32_t loca = CheckGlyphRange(glyph_id); local
88 if (loca == -1) {
index_sub_table_format4.cc 33 int32_t loca = CheckGlyphRange(glyph_id); local
34 if (loca == -1) {
48 int32_t loca = CheckGlyphRange(glyph_id); local
49 if (loca == -1) {
120 int32_t loca = CheckGlyphRange(glyph_id); local
121 if (loca == -1) {
133 int32_t loca = CheckGlyphRange(glyph_id); local
134 if (loca == -1) {
index_sub_table_format5.cc 39 int32_t loca = ReadFontData()->SearchUShort( local
44 if (loca == -1) {
45 return loca;
47 return loca * ImageSize();
index_sub_table.cc 31 int32_t loca = CheckGlyphRange(glyph_id); local
32 if (loca == -1) {
  /external/sfntly/cpp/src/sample/chromium/
subsetter_impl.h 69 GlyphTable* glyf, LocaTable* loca);
subsetter_impl.cc 237 down_cast<LocaTable::Builder*>(font_builder->NewTableBuilder(Tag::loca));
243 // Extract glyphs and setup loca list.
268 // Configure loca list.
392 ConstructIndexFormat4(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca,
402 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound);
403 BitmapGlyphInfoMap::const_iterator end = loca.end();
430 ConstructIndexFormat5(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca,
455 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound);
456 BitmapGlyphInfoMap::const_iterator end = loca.end();
480 const BitmapGlyphInfoMap& loca,
    [all...]
  /external/valgrind/memcheck/tests/
inlinfo.c 25 static int loca = 0; local
26 loca += arga;
27 return fun_b(loca);
  /external/valgrind/memcheck/tests/solaris/
inlinfo_nested.c 28 static int loca = 0; local
29 loca += arga;
30 return fun_b(loca);
  /external/sfntly/cpp/src/sfntly/tools/subsetter/
glyph_table_subsetter.cc 27 const int32_t kGlyphTableSubsetterTags[2] = {Tag::glyf, Tag::loca};
47 LocaTablePtr loca_table = down_cast<LocaTable*>(font->GetTable(Tag::loca));
60 (font_builder->NewTableBuilder(Tag::loca));
  /external/harfbuzz_ng/src/
hb-ot-glyf-table.hh 38 * loca -- Index to Location
44 struct loca struct in namespace:OT
110 loca_blob = Sanitizer<loca>::sanitize (face->reference_table (HB_OT_TAG_loca));
111 loca_table = Sanitizer<loca>::lock_instance (loca_blob);
164 const loca *loca_table;
  /external/sfntly/cpp/src/sample/subtly/
font_assembler.cc 146 (font_builder_->NewTableBuilder(Tag::loca));
153 // Basic sanity check: all LOCA tables are of the same size
159 down_cast<LocaTable*>(font_info_->GetTable(it->first, Tag::loca));
168 // font, their loca tables should all have the same sizes.
169 // We'll just get the size of the first font's LOCA table for simplicty.
172 (font_info_->GetTable(font_info_->fonts()->begin()->first, Tag::loca));
186 // Get the LOCA table for the current glyph id.
189 (font_info_->GetTable(font_id, Tag::loca));
212 // current resolved_glyph_id, since the LOCA table needs to have the same
222 // If there are missing glyph ids, their loca entries must all poin
    [all...]
font_info.cc 136 loca_table_ = down_cast<LocaTable*>(font_->GetTable(Tag::loca));
  /external/sfntly/cpp/src/sfntly/
tag.cc 38 const int32_t Tag::loca = TAG('l', 'o', 'c', 'a'); member in class:sfntly::Tag
99 Tag::loca,
tag.h 46 static const int32_t loca; member in struct:sfntly::Tag
  /external/skia/src/sfnt/
SkOTTable_glyf.h 32 const SkOTTableIndexToLocation& loca,
37 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&loca); }
  /external/skqp/src/sfnt/
SkOTTable_glyf.h 32 const SkOTTableIndexToLocation& loca,
37 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&loca); }
  /external/sfntly/cpp/src/sfntly/table/truetype/
glyph_table.cc 72 void GlyphTable::Builder::SetLoca(const IntegerList& loca) {
73 loca_ = loca;
161 const IntegerList& loca) {
167 int32_t last_loca_value = loca[0];
168 for (size_t i = 1; i < loca.size(); ++i) {
169 loca_value = loca[i];
187 "Loca values not set - unable to parse glyph data.");
glyph_table.h 118 virtual void SetLoca(const IntegerList& loca);
130 // the <code>loca</code> list has not been set or is null, empty, or
153 void Initialize(ReadableFontData* data, const IntegerList& loca);
  /external/sfntly/cpp/src/sfntly/table/
table.cc 116 } else if (tag == Tag::loca) {
  /external/fonttools/Lib/fontTools/ttLib/tables/
_g_l_y_f.py 35 loca = ttFont['loca']
36 last = int(loca[0])
40 for i in range(0, len(loca)-1):
46 next = int(loca[i+1])
76 if 'loca' in ttFont:
77 ttFont['loca'].set(locations)

Completed in 460 milliseconds

1 2