Home
last modified time | relevance | path

Searched refs:new_font (Results 1 – 10 of 10) sorted by relevance

/external/sfntly/cpp/src/sample/subtly/
Ddebug_main.cc50 Ptr<Font> new_font; in main() local
51 new_font.Attach(subsetter->Subset()); in main()
52 if (!new_font) { in main()
57 subtly::SerializeFont(output_font_path, new_font); in main()
58 subtly::PrintComparison(stdout, font, new_font); in main()
59 int32_t new_size = TotalFontSize(new_font); in main()
Dsubsetter_main.cc68 Ptr<Font> new_font; in main() local
69 new_font.Attach(subsetter->Subset()); in main()
70 if (!new_font) { in main()
75 subtly::SerializeFont(output_font_path, new_font); in main()
76 subtly::PrintComparison(stdout, font, new_font); in main()
77 int32_t new_size = TotalFontSize(new_font); in main()
Dmerger_main.cc58 FontPtr new_font; in main() local
59 new_font.Attach(merger->Merge()); in main()
62 SerializeFont(argv[argc - 1], new_font); in main()
63 if (!new_font) { in main()
Dstats.cc42 void PrintComparison(FILE* out, Font* font, Font* new_font) { in PrintComparison() argument
53 Ptr<FontDataTable> new_table = new_font->GetTable(it->first); in PrintComparison()
58 size_percent = subtly::TableSizePercent(new_font, it->first); in PrintComparison()
Dstats.h35 void PrintComparison(FILE* out, Font* font, Font* new_font);
/external/sfntly/cpp/src/test/
Dbitmap_table_test.cc145 FontPtr new_font; in TestIndexFormatConversion() local
146 new_font.Attach(font_builder->Build()); in TestIndexFormatConversion()
150 factory->SerializeFont(new_font, &os); in TestIndexFormatConversion()
160 new_font = font_array[0]; in TestIndexFormatConversion()
162 EXPECT_TRUE(CommonReadingTest(new_font)); in TestIndexFormatConversion()
166 down_cast<EblcTable*>(new_font->GetTable(Tag::EBLC)); in TestIndexFormatConversion()
Dname_editing_test.cc77 FontPtr new_font = font_array[0]; in TestChangeOneName() local
126 FontPtr new_font = font_array[0]; in TestModifyNameTableAndRevert() local
172 FontPtr new_font = font_array[0]; in TestRemoveOneName() local
Dcmap_editing_test.cc91 FontPtr new_font; in TEST() local
92 new_font.Attach(font_builder->Build()); in TEST()
/external/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc83 FontPtr new_font; in Subset() local
84 new_font.Attach(font_builder->Build()); in Subset()
90 factory->SerializeFont(new_font, &output_stream); in Subset()
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc661 FontPtr new_font; in SubsetFont() local
662 new_font.Attach(Subset(glyph_id_processed, glyph_table, loca_table)); in SubsetFont()
663 if (new_font == NULL) { in SubsetFont()
668 factory_->SerializeFont(new_font, &output_stream); in SubsetFont()