Home
last modified time | relevance | path

Searched refs:font_builder (Results 1 – 12 of 12) sorted by relevance

/external/sfntly/cpp/src/test/
Dfont_parsing_test.cc43 FontBuilderPtr font_builder = font_builder_array[0]; in TestFontParsing() local
50 EXPECT_TRUE(font_builder->HasTableBuilder(TTF_KNOWN_TAGS[i])); in TestFontParsing()
56 down_cast<GenericTableBuilder*>(font_builder->GetTableBuilder(Tag::feat)); in TestFontParsing()
73 font_builder->GetTableBuilder(Tag::head)); in TestFontParsing()
86 font_builder->GetTableBuilder(TTF_KNOWN_TAGS[i]); in TestFontParsing()
106 FontBuilderPtr font_builder = font_builder_array[0]; in TestTTFReadWrite() local
108 font.Attach(font_builder->Build()); in TestTTFReadWrite()
124 FontBuilderPtr font_builder = font_builder_array[0]; in TestTTFMemoryBasedReadWrite() local
126 font.Attach(font_builder->Build()); in TestTTFMemoryBasedReadWrite()
Dname_editing_test.cc52 FontBuilderPtr font_builder = font_builder_array[0]; in TestChangeOneName() local
55 font_builder->GetTableBuilder(Tag::name)); in TestChangeOneName()
68 font.Attach(font_builder->Build()); in TestChangeOneName()
96 FontBuilderPtr font_builder = font_builder_array[0]; in TestModifyNameTableAndRevert() local
99 font_builder->GetTableBuilder(Tag::name)); in TestModifyNameTableAndRevert()
117 font.Attach(font_builder->Build()); in TestModifyNameTableAndRevert()
147 FontBuilderPtr font_builder = font_builder_array[0]; in TestRemoveOneName() local
150 font_builder->GetTableBuilder(Tag::name)); in TestRemoveOneName()
163 font.Attach(font_builder->Build()); in TestRemoveOneName()
Dcmap_editing_test.cc41 FontBuilderPtr font_builder = builders[0]; in TEST() local
43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap); in TEST()
58 Font* font = font_builder->Build(); in TEST()
77 FontBuilderPtr font_builder; in TEST() local
78 font_builder.Attach(font_factory->NewFontBuilder()); in TEST()
80 (CMapTable::Builder*)font_builder->NewTableBuilder(Tag::cmap); in TEST()
92 new_font.Attach(font_builder->Build()); in TEST()
Dotf_basic_editing_test.cc36 FontBuilderPtr font_builder = font_builder_array[0]; in TestOTFBasicEditing() local
39 EXPECT_TRUE(font_builder != NULL); in TestOTFBasicEditing()
40 TableBuilderMap* builder_map = font_builder->table_builders(); in TestOTFBasicEditing()
58 font_builder->GetTableBuilder(Tag::head)); in TestOTFBasicEditing()
62 font.Attach(font_builder->Build()); in TestOTFBasicEditing()
Dserialization_test.cc38 FontBuilderPtr font_builder = font_builder_array[0]; in TestSerialization() local
41 intermediate.Attach(font_builder->Build()); in TestSerialization()
104 FontBuilderPtr font_builder = font_builder_array[0]; in TestSerializationBitmap() local
107 intermediate.Attach(font_builder->Build()); in TestSerializationBitmap()
Dbitmap_table_test.cc137 FontBuilderPtr font_builder; in TestIndexFormatConversion() local
138 font_builder = builder_array[0]; in TestIndexFormatConversion()
140 down_cast<EblcTable::Builder*>(font_builder->GetTableBuilder(Tag::EBLC)); in TestIndexFormatConversion()
146 new_font.Attach(font_builder->Build()); in TestIndexFormatConversion()
/external/sfntly/cpp/src/sfntly/tools/subsetter/
Dsubsetter.cc55 FontBuilderPtr font_builder; in Subset() local
56 font_builder.Attach(font_factory_->NewFontBuilder()); in Subset()
74 bool handled = (*table_subsetter)->Subset(this, font_, font_builder); in Subset()
88 font_builder->NewTableBuilder(*tag, table->ReadFontData()); in Subset()
91 return font_builder.Detach(); in Subset()
Dglyph_table_subsetter.cc37 Font::Builder* font_builder) { in Subset() argument
40 assert(font_builder); in Subset()
57 (font_builder->NewTableBuilder(Tag::glyf)); in Subset()
60 (font_builder->NewTableBuilder(Tag::loca)); in Subset()
Dglyph_table_subsetter.h32 Font::Builder* font_builder);
Dtable_subsetter.h32 Font::Builder* font_builder) = 0;
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc226 bool SetupGlyfBuilders(Font::Builder* font_builder, in SetupGlyfBuilders() argument
230 if (!font_builder || !glyph_table || !loca_table) { in SetupGlyfBuilders()
235 down_cast<GlyphTable::Builder*>(font_builder->NewTableBuilder(Tag::glyf)); in SetupGlyfBuilders()
237 down_cast<LocaTable::Builder*>(font_builder->NewTableBuilder(Tag::loca)); in SetupGlyfBuilders()
564 int SetupBitmapBuilders(Font* font, Font::Builder* font_builder, in SetupBitmapBuilders() argument
566 if (!font || !font_builder) { in SetupBitmapBuilders()
590 font_builder->NewTableBuilder(use_ebdt ? Tag::EBDT : Tag::bdat, in SetupBitmapBuilders()
593 font_builder->NewTableBuilder(use_ebdt ? Tag::EBLC : Tag::bloc, in SetupBitmapBuilders()
603 font_builder->RemoveTableBuilder(use_ebdt ? Tag::EBLC : Tag::bloc); in SetupBitmapBuilders()
604 font_builder->RemoveTableBuilder(use_ebdt ? Tag::EBDT : Tag::bdat); in SetupBitmapBuilders()
[all …]
/external/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc80 FontBuilderPtr font_builder; in Subset() local
81 font_builder.Attach(subsetter->Subset()); in Subset()
84 new_font.Attach(font_builder->Build()); in Subset()