Searched refs:font_builder (Results 1 – 12 of 12) sorted by relevance
43 FontBuilderPtr font_builder = font_builder_array[0]; in TestFontParsing() local50 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() local108 font.Attach(font_builder->Build()); in TestTTFReadWrite()124 FontBuilderPtr font_builder = font_builder_array[0]; in TestTTFMemoryBasedReadWrite() local126 font.Attach(font_builder->Build()); in TestTTFMemoryBasedReadWrite()
52 FontBuilderPtr font_builder = font_builder_array[0]; in TestChangeOneName() local55 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() local99 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() local150 font_builder->GetTableBuilder(Tag::name)); in TestRemoveOneName()163 font.Attach(font_builder->Build()); in TestRemoveOneName()
41 FontBuilderPtr font_builder = builders[0]; in TEST() local43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap); in TEST()58 Font* font = font_builder->Build(); in TEST()77 FontBuilderPtr font_builder; in TEST() local78 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()
36 FontBuilderPtr font_builder = font_builder_array[0]; in TestOTFBasicEditing() local39 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()
38 FontBuilderPtr font_builder = font_builder_array[0]; in TestSerialization() local41 intermediate.Attach(font_builder->Build()); in TestSerialization()104 FontBuilderPtr font_builder = font_builder_array[0]; in TestSerializationBitmap() local107 intermediate.Attach(font_builder->Build()); in TestSerializationBitmap()
137 FontBuilderPtr font_builder; in TestIndexFormatConversion() local138 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()
55 FontBuilderPtr font_builder; in Subset() local56 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()
37 Font::Builder* font_builder) { in Subset() argument40 assert(font_builder); in Subset()57 (font_builder->NewTableBuilder(Tag::glyf)); in Subset()60 (font_builder->NewTableBuilder(Tag::loca)); in Subset()
32 Font::Builder* font_builder);
32 Font::Builder* font_builder) = 0;
226 bool SetupGlyfBuilders(Font::Builder* font_builder, in SetupGlyfBuilders() argument230 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() argument566 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 …]
80 FontBuilderPtr font_builder; in Subset() local81 font_builder.Attach(subsetter->Subset()); in Subset()84 new_font.Attach(font_builder->Build()); in Subset()