Searched refs:new_font (Results 1 – 10 of 10) sorted by relevance
/external/sfntly/cpp/src/sample/subtly/ |
D | debug_main.cc | 50 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()
|
D | subsetter_main.cc | 68 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()
|
D | merger_main.cc | 58 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()
|
D | stats.cc | 42 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()
|
D | stats.h | 35 void PrintComparison(FILE* out, Font* font, Font* new_font);
|
/external/sfntly/cpp/src/test/ |
D | bitmap_table_test.cc | 145 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()
|
D | name_editing_test.cc | 77 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
|
D | cmap_editing_test.cc | 91 FontPtr new_font; in TEST() local 92 new_font.Attach(font_builder->Build()); in TEST()
|
/external/sfntly/cpp/src/sample/subsetter/ |
D | subset_util.cc | 83 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/ |
D | subsetter_impl.cc | 661 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()
|