Home
last modified time | relevance | path

Searched refs:new_font (Results 1 – 17 of 17) 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.cc152 FontPtr new_font; in TestIndexFormatConversion() local
153 new_font.Attach(font_builder->Build()); in TestIndexFormatConversion()
157 factory->SerializeFont(new_font, &os); in TestIndexFormatConversion()
167 new_font = font_array[0]; in TestIndexFormatConversion()
169 EXPECT_TRUE(CommonReadingTest(new_font)); in TestIndexFormatConversion()
173 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/python/cpython2/Lib/
Dformatter.py245 self.writer.new_font(font)
254 self.writer.new_font(font)
306 def new_font(self, font): pass member in NullWriter
329 def new_font(self, font): member in AbstractWriter
/external/python/cpython3/Lib/
Dformatter.py248 self.writer.new_font(font)
257 self.writer.new_font(font)
309 def new_font(self, font): pass member in NullWriter
332 def new_font(self, font): member in AbstractWriter
/external/fonttools/Tests/varLib/
Dmutator_test.py179 new_font = make_instance(varfont, loc)
181 self.expect_ttx(new_font, expected_ttx_path, tables)
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc721 FontPtr new_font; in SubsetFont() local
722 new_font.Attach(Subset(glyph_id_processed, glyph_table, loca_table)); in SubsetFont()
723 if (new_font == NULL) { in SubsetFont()
728 factory_->SerializeFont(new_font, &output_stream); in SubsetFont()
/external/python/cpython2/Doc/library/
Dformatter.rst143 maintained at their current settings. The writer's :meth:`new_font` method is
242 .. method:: writer.new_font(font)
/external/python/cpython3/Doc/library/
Dformatter.rst144 maintained at their current settings. The writer's :meth:`new_font` method is
243 .. method:: writer.new_font(font)
/external/python/cpython3/Lib/idlelib/
Dconfigdialog.py667 new_font = (font_name, self.font_size.get(), font_weight)
668 self.font_sample['font'] = new_font
669 self.highlight_sample['font'] = new_font
Deditor.py845 new_font = idleConf.GetFont(self.root, 'main', 'EditorWindow')
846 self.text['font'] = new_font