Home
last modified time | relevance | path

Searched refs:FontFactory (Results 1 – 25 of 25) sorted by relevance

/external/sfntly/cpp/src/sfntly/
Dfont_factory.cc25 FontFactory::~FontFactory() { in ~FontFactory()
28 CALLER_ATTACH FontFactory* FontFactory::GetInstance() { in GetInstance()
29 FontFactoryPtr instance = new FontFactory(); in GetInstance()
33 void FontFactory::FingerprintFont(bool fingerprint) { in FingerprintFont()
37 bool FontFactory::FingerprintFont() { in FingerprintFont()
41 void FontFactory::LoadFonts(InputStream* is, FontArray* output) { in LoadFonts()
55 void FontFactory::LoadFonts(std::vector<uint8_t>* b, FontArray* output) { in LoadFonts()
69 void FontFactory::LoadFontsForBuilding(InputStream* is, in LoadFontsForBuilding()
83 void FontFactory::LoadFontsForBuilding(std::vector<uint8_t>* b, in LoadFontsForBuilding()
98 void FontFactory::SerializeFont(Font* font, OutputStream* os) { in SerializeFont()
[all …]
Dfont_factory.h28 class FontFactory : public RefCounted<FontFactory> {
30 virtual ~FontFactory();
33 static CALLER_ATTACH FontFactory* GetInstance();
107 FontFactory();
129 typedef Ptr<FontFactory> FontFactoryPtr;
Dfont.h120 class FontFactory; variable
135 GetOTFBuilder(FontFactory* factory, InputStream* is);
137 GetOTFBuilder(FontFactory* factory,
140 static CALLER_ATTACH Builder* GetOTFBuilder(FontFactory* factory);
143 FontFactory* GetFontFactory() { return factory_; } in GetFontFactory()
192 explicit Builder(FontFactory* factory);
222 FontFactory* factory_; // dumb pointer, avoid circular refcounting
Dfont.cc219 CALLER_ATTACH Font::Builder* Font::Builder::GetOTFBuilder(FontFactory* factory, in GetOTFBuilder()
227 FontFactory* factory, in GetOTFBuilder()
236 FontFactory* factory) { in GetOTFBuilder()
318 Font::Builder::Builder(FontFactory* factory) in Builder()
/external/sfntly/cpp/src/sample/subtly/
Dutils.cc30 Ptr<FontFactory> font_factory; in LoadFont()
31 font_factory.Attach(FontFactory::GetInstance()); in LoadFont()
39 font_factory.Attach(FontFactory::GetInstance()); in LoadFontBuilder()
45 void LoadFonts(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFonts()
53 FontFactory* factory, in LoadFontBuilders()
65 font_factory.Attach(FontFactory::GetInstance()); in SerializeFont()
69 bool SerializeFont(const char* font_path, FontFactory* factory, Font* font) { in SerializeFont()
Dutils.h27 void LoadFonts(const char* font_path, sfntly::FontFactory* factory,
30 sfntly::FontFactory* factory,
34 bool SerializeFont(const char* font_path, sfntly::FontFactory* factory,
Dfont_assembler.h61 sfntly::Ptr<sfntly::FontFactory> font_factory_;
Dfont_assembler.cc52 font_factory_.Attach(sfntly::FontFactory::GetInstance()); in Initialize()
/external/sfntly/cpp/src/test/
Dtest_font_utils.h26 void BuilderForFontFile(const char* font_path, FontFactory* factory,
28 void SerializeFont(const char* font_path, FontFactory* factory, Font* font);
29 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts);
Dserialization_test.cc30 factory1.Attach(FontFactory::GetInstance()); in TestSerialization()
35 factory2.Attach(FontFactory::GetInstance()); in TestSerialization()
45 factory3.Attach(FontFactory::GetInstance()); in TestSerialization()
96 factory1.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
101 factory2.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
111 factory3.Attach(FontFactory::GetInstance()); in TestSerializationBitmap()
Dtest_font_utils.cc27 void BuilderForFontFile(const char* font_path, FontFactory* factory, in BuilderForFontFile()
36 void SerializeFont(const char* font_path, FontFactory* factory, Font* font) { in SerializeFont()
45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFont()
58 factory.Attach(FontFactory::GetInstance()); in LoadFontUsingByteVector()
Dname_editing_test.cc38 void LoadTestFile(FontFactory* factory, FontBuilderArray* font_builders) { in LoadTestFile()
49 factory.Attach(FontFactory::GetInstance()); in TestChangeOneName()
93 factory.Attach(FontFactory::GetInstance()); in TestModifyNameTableAndRevert()
144 factory.Attach(FontFactory::GetInstance()); in TestRemoveOneName()
Dcmap_test.cc167 Ptr<FontFactory> font_factory; in TEST_P()
168 font_factory.Attach(FontFactory::GetInstance()); in TEST_P()
177 Ptr<FontFactory> font_factory; in TEST_P()
178 font_factory.Attach(FontFactory::GetInstance()); in TEST_P()
Dfont_parsing_test.cc39 factory.Attach(FontFactory::GetInstance()); in TestFontParsing()
103 factory.Attach(FontFactory::GetInstance()); in TestTTFReadWrite()
121 factory.Attach(FontFactory::GetInstance()); in TestTTFMemoryBasedReadWrite()
Dcmap_editing_test.cc38 font_factory.Attach(FontFactory::GetInstance()); in TEST()
70 font_factory.Attach(FontFactory::GetInstance()); in TEST()
Dbitmap_table_test.cc104 factory.Attach(FontFactory::GetInstance()); in TestReadingBitmapTable()
140 factory.Attach(FontFactory::GetInstance()); in TestIndexFormatConversion()
Dotf_basic_editing_test.cc33 factory.Attach(FontFactory::GetInstance()); in TestOTFBasicEditing()
Dhdmx_test.cc33 factory.Attach(FontFactory::GetInstance()); in TestReadingHdmxTable()
Dcmap_iterator_test.cc77 Ptr<FontFactory> font_factory; in SetUp()
/external/sfntly/cpp/src/test/autogenerated/
Dcmap_basic_test.cc59 Ptr<FontFactory> font_factory; in SetUp()
60 font_factory.Attach(FontFactory::GetInstance()); in SetUp()
/external/sfntly/cpp/src/sfntly/tools/subsetter/
Dsubsetter.h31 Subsetter(Font* font, FontFactory* font_factory);
Dsubsetter.cc26 Subsetter::Subsetter(Font* font, FontFactory* font_factory) { in Subsetter()
/external/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc60 factory.Attach(FontFactory::GetInstance()); in Subset()
/external/sfntly/doc/
Dsmart_pointer_usage.md87 > static CALLER_ATTACH FontFactory* GetInstance();
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc671 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
689 factory_.Attach(FontFactory::GetInstance()); in LoadFont()