Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/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
/third_party/skia/third_party/externals/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,
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/
DTestFontUtils.java21 import com.google.typography.font.sfntly.FontFactory;
73 FontFactory fontFactory = FontFactory.getInstance(); in loadFont()
126 FontFactory fontFactory = FontFactory.getInstance(); in loadFontUsingByteArray()
138 Font[] buildAndCheckFont(FontFactory fontFactory, InputStream is, int debug) throws IOException { in buildAndCheckFont()
227 FontFactory factory = FontFactory.getInstance(); in serializeFont()
243 FontFactory otfFactory = FontFactory.getInstance(); in builderForFontFile()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DHheaTests.java31 FontFactory factory = FontFactory.getInstance(); in testAdvanceWidthMax()
43 FontFactory factory = FontFactory.getInstance(); in testNumHMetrics()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
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.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);
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()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFontFactory.java40 public final class FontFactory { class
76 private FontFactory() { in FontFactory() method in FontFactory
85 public static FontFactory getInstance(/*buffer builder factory*/) { in getInstance()
86 return new FontFactory(); in getInstance()
129 new PushbackInputStream(new BufferedInputStream(is), FontFactory.LOOKAHEAD_SIZE); in loadFonts()
150 new PushbackInputStream(new BufferedInputStream(is), FontFactory.LOOKAHEAD_SIZE); in loadFontsForBuilding()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/conversion/eot/
DCvtEncoderTest.java20 import com.google.typography.font.sfntly.FontFactory;
34 FontFactory factory = FontFactory.getInstance(); in testCvtEncoder()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/issue_tests/
DIssue27Tests.java4 import com.google.typography.font.sfntly.FontFactory;
24 FontFactory fontFactory = FontFactory.getInstance(); in testIssue27()
DIssue28Tests.java4 import com.google.typography.font.sfntly.FontFactory;
51 FontFactory factory = FontFactory.getInstance(); in testStreamVsBytes()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/sample/sfview/
DRuleDump.java4 import com.google.typography.font.sfntly.FontFactory;
30 FontFactory fontFactory = FontFactory.getInstance(); in loadFont()
DSFView.java4 import com.google.typography.font.sfntly.FontFactory;
35 FontFactory fontFactory = FontFactory.getInstance(); in loadFont()
DHtmlViewer.java4 import com.google.typography.font.sfntly.FontFactory;
42 FontFactory fontFactory = FontFactory.getInstance(); in loadFont()
DGsubRulesDump.java4 import com.google.typography.font.sfntly.FontFactory;
34 FontFactory fontFactory = FontFactory.getInstance(); in loadFont()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/tools/subsetter/
DPostScriptTableBuilderTest.java20 import com.google.typography.font.sfntly.FontFactory;
35 FontFactory fontFactory = FontFactory.getInstance(); in testPostTableBuilding()
DCMapTableBuilderTest.java20 import com.google.typography.font.sfntly.FontFactory;
36 FontFactory fontFactory = FontFactory.getInstance(); in verifyCmap()
DHorizontalMetricsTableBuilderTest.java20 import com.google.typography.font.sfntly.FontFactory;
37 FontFactory fontFactory = FontFactory.getInstance(); in testHorizontalMetricsTableBuilder()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/testing/
DFontLoader.java4 import com.google.typography.font.sfntly.FontFactory;
45 FontFactory fontFactory = FontFactory.getInstance(); in load()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/fontinfo/
DFontUtils.java20 import com.google.typography.font.sfntly.FontFactory;
62 FontFactory fontFactory = FontFactory.getInstance(); in getFonts()

123