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

1 2

  /external/chromium_org/third_party/ots/src/
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 != NULL
70 const OpenTypeLOCA *loca = file->loca; local
    [all...]
glyf.cc 11 #include "loca.h"
177 if (!file->maxp || !file->loca || !file->head) {
185 std::vector<uint32_t> &offsets = file->loca->offsets;
196 // The LOCA parser checks that these values are monotonic
281 file->loca->offsets = resulting_offsets;
ots.h 200 F(loca, LOCA) \
  /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/sample/chromium/
subsetter_impl.h 66 GlyphTable* glyf, LocaTable* loca);
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,
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,
453 BitmapGlyphInfoMap::const_iterator i = loca.lower_bound(lower_bound);
454 BitmapGlyphInfoMap::const_iterator end = loca.end();
478 const BitmapGlyphInfoMap& loca,
    [all...]
  /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/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/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
220 // 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/chromium_org/third_party/skia/src/sfnt/
SkOTTable_glyf.h 33 const SkOTTableIndexToLocation& loca,
38 { fLocaPtr.shortOffset = reinterpret_cast<const SK_OT_USHORT*>(&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 33 const SkOTTableIndexToLocation& loca,
38 { 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/chromium_org/third_party/ots/
ots.target.darwin-arm.mk 42 third_party/ots/src/loca.cc \

Completed in 435 milliseconds

1 2