/external/chromium_org/third_party/ots/src/ |
H A D | loca.cc | 5 #include "loca.h" 10 // loca - Index to Location 11 // http://www.microsoft.com/opentype/otspec/loca.htm 21 OpenTypeLOCA *loca = new OpenTypeLOCA; local 22 file->loca = loca; 30 loca->offsets.resize(num_glyphs + 1); 46 loca->offsets[i] = offset * 2; 58 loca->offsets[i] = offset; 66 return file->loca ! 70 const OpenTypeLOCA *loca = file->loca; local [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
H A D | 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]);
|
H A D | 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 };
|
/external/sfntly/cpp/src/test/ |
H A D | 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]);
|
H A D | 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 };
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/ |
H A D | 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); 64 int32_t IndexSubTableFormat1::Loca(int32_t loca) { argument 67 loca * DataSize::kULONG); 81 int32_t loca local 90 int32_t loca = CheckGlyphRange(glyph_id); local [all...] |
H A D | 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) { 64 int32_t IndexSubTableFormat3::Loca(int32_t loca) { argument 67 loca * DataSize::kUSHORT); 82 int32_t loca = CheckGlyphRange(glyph_id); local 83 if (loca == -1) { 86 return GetOffsetArray()->at(loca); 90 int32_t loca = CheckGlyphRange(glyph_id); local [all...] |
H A D | 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) {
|
H A D | 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) {
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
H A D | 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); 64 int32_t IndexSubTableFormat1::Loca(int32_t loca) { argument 67 loca * DataSize::kULONG); 81 int32_t loca local 90 int32_t loca = CheckGlyphRange(glyph_id); local [all...] |
H A D | 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) { 64 int32_t IndexSubTableFormat3::Loca(int32_t loca) { argument 67 loca * DataSize::kUSHORT); 82 int32_t loca = CheckGlyphRange(glyph_id); local 83 if (loca == -1) { 86 return GetOffsetArray()->at(loca); 90 int32_t loca = CheckGlyphRange(glyph_id); local [all...] |
H A D | 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) {
|
H A D | 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) {
|
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/ |
H A D | subsetter_impl.h | 66 GlyphTable* glyf, LocaTable* loca);
|
H A D | subsetter_impl.cc | 235 down_cast<LocaTable::Builder*>(font_builder->NewTableBuilder(Tag::loca)); 241 // Extract glyphs and setup loca list. 266 // Configure loca list. 390 ConstructIndexFormat4(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca, argument 400 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound); 401 BitmapGlyphInfoMap::const_iterator end = loca.end(); 428 ConstructIndexFormat5(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca, argument 453 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound); 454 BitmapGlyphInfoMap::const_iterator end = loca.end(); 478 const BitmapGlyphInfoMap& loca, 477 SubsetIndexSubTable(IndexSubTable::Builder* builder, const BitmapGlyphInfoMap& loca, int32_t* image_data_offset) argument 724 Subset(const IntegerSet& glyph_ids, GlyphTable* glyf, LocaTable* loca) argument [all...] |
/external/sfntly/cpp/src/sample/chromium/ |
H A D | subsetter_impl.h | 66 GlyphTable* glyf, LocaTable* loca);
|
H A D | subsetter_impl.cc | 235 down_cast<LocaTable::Builder*>(font_builder->NewTableBuilder(Tag::loca)); 241 // Extract glyphs and setup loca list. 266 // Configure loca list. 390 ConstructIndexFormat4(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca, argument 400 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound); 401 BitmapGlyphInfoMap::const_iterator end = loca.end(); 428 ConstructIndexFormat5(IndexSubTable::Builder* b, const BitmapGlyphInfoMap& loca, argument 453 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound); 454 BitmapGlyphInfoMap::const_iterator end = loca.end(); 478 const BitmapGlyphInfoMap& loca, 477 SubsetIndexSubTable(IndexSubTable::Builder* builder, const BitmapGlyphInfoMap& loca, int32_t* image_data_offset) argument 724 Subset(const IntegerSet& glyph_ids, GlyphTable* glyf, LocaTable* loca) argument [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/tools/subsetter/ |
H A D | 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/sfntly/cpp/src/sfntly/tools/subsetter/ |
H A D | 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/chromium_org/third_party/sfntly/cpp/src/sample/subtly/ |
H A D | font_assembler.cc | 146 (font_builder_->NewTableBuilder(Tag::loca)); 159 down_cast<LocaTable*>(font_info_->GetTable(it->first, Tag::loca)); 168 // font, their loca tables should all have the same sizes. 172 (font_info_->GetTable(font_info_->fonts()->begin()->first, Tag::loca)); 189 (font_info_->GetTable(font_id, Tag::loca)); 220 // If there are missing glyph ids, their loca entries must all point
|
/external/sfntly/cpp/src/sample/subtly/ |
H A D | font_assembler.cc | 146 (font_builder_->NewTableBuilder(Tag::loca)); 159 down_cast<LocaTable*>(font_info_->GetTable(it->first, Tag::loca)); 168 // font, their loca tables should all have the same sizes. 172 (font_info_->GetTable(font_info_->fonts()->begin()->first, Tag::loca)); 189 (font_info_->GetTable(font_id, Tag::loca)); 220 // If there are missing glyph ids, their loca entries must all point
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/ |
H A D | tag.cc | 38 const int32_t Tag::loca = TAG('l', 'o', 'c', 'a'); member in class:sfntly::Tag 99 Tag::loca,
|
/external/chromium_org/third_party/skia/src/sfnt/ |
H A D | SkOTTable_glyf.h | 33 const SkOTTableIndexToLocation& loca, 38 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&loca); } 32 Iterator(const SkOTTableGlyph& glyf, const SkOTTableIndexToLocation& loca, SkOTTableHead::IndexToLocFormat locaFormat) argument
|
/external/sfntly/cpp/src/sfntly/ |
H A D | tag.cc | 38 const int32_t Tag::loca = TAG('l', 'o', 'c', 'a'); member in class:sfntly::Tag 99 Tag::loca,
|
/external/skia/src/sfnt/ |
H A D | SkOTTable_glyf.h | 33 const SkOTTableIndexToLocation& loca, 38 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&loca); } 32 Iterator(const SkOTTableGlyph& glyf, const SkOTTableIndexToLocation& loca, SkOTTableHead::IndexToLocFormat locaFormat) argument
|