Home
last modified time | relevance | path

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

12

/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dutils.cc29 CALLER_ATTACH Font* LoadFont(const char* font_path) { in LoadFont() argument
33 LoadFonts(font_path, font_factory, &fonts); in LoadFont()
37 CALLER_ATTACH Font::Builder* LoadFontBuilder(const char* font_path) { in LoadFontBuilder() argument
41 LoadFontBuilders(font_path, font_factory, &builders); in LoadFontBuilder()
45 void LoadFonts(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFonts() argument
47 input_stream.Open(font_path); in LoadFonts()
52 void LoadFontBuilders(const char* font_path, in LoadFontBuilders() argument
56 input_stream.Open(font_path); in LoadFontBuilders()
61 bool SerializeFont(const char* font_path, Font* font) { in SerializeFont() argument
62 if (!font_path) in SerializeFont()
[all …]
Dutils.h24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path);
25 CALLER_ATTACH sfntly::Font::Builder* LoadFontBuilder(const char* font_path);
27 void LoadFonts(const char* font_path, sfntly::FontFactory* factory,
29 void LoadFontBuilders(const char* font_path,
33 bool SerializeFont(const char* font_path, sfntly::Font* font);
34 bool SerializeFont(const char* font_path, sfntly::FontFactory* factory,
Dsubsetter.cc40 Subsetter::Subsetter(const char* font_path, CharacterPredicate* predicate) in Subsetter() argument
42 font_.Attach(LoadFont(font_path)); in Subsetter()
Dmerger_main.cc36 void CheckLoading(const char* font_path, Font* font) { in CheckLoading() argument
38 fprintf(stderr, "Could not load font %s. Terminating.\n", font_path); in CheckLoading()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subtly/
Dutils.cc29 CALLER_ATTACH Font* LoadFont(const char* font_path) { in LoadFont() argument
33 LoadFonts(font_path, font_factory, &fonts); in LoadFont()
37 CALLER_ATTACH Font::Builder* LoadFontBuilder(const char* font_path) { in LoadFontBuilder() argument
41 LoadFontBuilders(font_path, font_factory, &builders); in LoadFontBuilder()
45 void LoadFonts(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFonts() argument
47 input_stream.Open(font_path); in LoadFonts()
52 void LoadFontBuilders(const char* font_path, in LoadFontBuilders() argument
56 input_stream.Open(font_path); in LoadFontBuilders()
61 bool SerializeFont(const char* font_path, Font* font) { in SerializeFont() argument
62 if (!font_path) in SerializeFont()
[all …]
Dutils.h24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path);
25 CALLER_ATTACH sfntly::Font::Builder* LoadFontBuilder(const char* font_path);
27 void LoadFonts(const char* font_path, sfntly::FontFactory* factory,
29 void LoadFontBuilders(const char* font_path,
33 bool SerializeFont(const char* font_path, sfntly::Font* font);
34 bool SerializeFont(const char* font_path, sfntly::FontFactory* factory,
Dmerger_main.cc36 void CheckLoading(const char* font_path, Font* font) { in CheckLoading() argument
38 fprintf(stderr, "Could not load font %s. Terminating.\n", font_path); in CheckLoading()
Dsubsetter.cc40 Subsetter::Subsetter(const char* font_path, CharacterPredicate* predicate) in Subsetter() argument
42 font_.Attach(LoadFont(font_path)); in Subsetter()
/third_party/skia/third_party/externals/harfbuzz/util/
Dface-options.hh50 g_free (font_path); in ~cache_t()
55 char *font_path = nullptr; member
83 const char *font_path = font_file; in post_parse() local
85 if (0 == strcmp (font_path, "-")) in post_parse()
89 font_path = "STDIN"; in post_parse()
91 font_path = "/dev/stdin"; in post_parse()
95 if (!cache.font_path || 0 != strcmp (cache.font_path, font_path)) in post_parse()
98 cache.blob = hb_blob_create_from_file_or_fail (font_path); in post_parse()
100 free ((char *) cache.font_path); in post_parse()
101 cache.font_path = g_strdup (font_path); in post_parse()
[all …]
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dtest_font_utils.cc27 void BuilderForFontFile(const char* font_path, FontFactory* factory, in BuilderForFontFile() argument
31 is.Open(font_path); in BuilderForFontFile()
36 void SerializeFont(const char* font_path, FontFactory* factory, Font* font) { in SerializeFont() argument
37 assert(font_path); in SerializeFont()
42 SerializeToFile(&output_stream, font_path); in SerializeFont()
45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFont() argument
47 is.Open(font_path); in LoadFont()
52 void LoadFontUsingByteVector(const char* font_path, in LoadFontUsingByteVector() argument
56 LoadFile(font_path, &bv); in LoadFontUsingByteVector()
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);
30 void LoadFontUsingByteVector(const char* font_path,
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dtest_font_utils.cc27 void BuilderForFontFile(const char* font_path, FontFactory* factory, in BuilderForFontFile() argument
31 is.Open(font_path); in BuilderForFontFile()
36 void SerializeFont(const char* font_path, FontFactory* factory, Font* font) { in SerializeFont() argument
37 assert(font_path); in SerializeFont()
42 SerializeToFile(&output_stream, font_path); in SerializeFont()
45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { in LoadFont() argument
47 is.Open(font_path); in LoadFont()
52 void LoadFontUsingByteVector(const char* font_path, in LoadFontUsingByteVector() argument
56 LoadFile(font_path, &bv); in LoadFontUsingByteVector()
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);
30 void LoadFontUsingByteVector(const char* font_path,
/third_party/flutter/engine/flutter/flow/layers/
Dperformance_overlay_layer.cc19 const std::string& font_path) { in DrawStatisticsText() argument
21 if (font_path != "") { in DrawStatisticsText()
22 font = SkFont(SkTypeface::MakeFromFile(font_path.c_str())); in DrawStatisticsText()
40 const std::string& font_path) { in VisualizeStopWatch() argument
59 font_path); in VisualizeStopWatch()
66 const char* font_path) in PerformanceOverlayLayer() argument
68 if (font_path != nullptr) { in PerformanceOverlayLayer()
69 font_path_ = font_path; in PerformanceOverlayLayer()
/third_party/skia/third_party/externals/sfntly/cpp/tools/
Dfont_data_generator_xml.py26 def __init__(self, table_data_generators, font_path): argument
28 self.font_path = font_path
43 root_element.setAttribute('path', self.font_path[3:])
45 h.update(open(self.font_path, 'r').read())
47 font = ttLib.TTFont(self.font_path)
Dtest_data_generator_xml.py30 for font_path in self.fonts:
31 print 'Processing font ' + font_path
33 font_path).Generate()
34 xml_path = (font_path
36 self.destination + os.path.basename(font_path)) + '.xml'
/third_party/flutter/skia/third_party/externals/sfntly/cpp/tools/
Dfont_data_generator_xml.py26 def __init__(self, table_data_generators, font_path): argument
28 self.font_path = font_path
43 root_element.setAttribute('path', self.font_path[3:])
45 h.update(open(self.font_path, 'r').read())
47 font = ttLib.TTFont(self.font_path)
Dtest_data_generator_xml.py30 for font_path in self.fonts:
31 print 'Processing font ' + font_path
33 font_path).Generate()
34 xml_path = (font_path
36 self.destination + os.path.basename(font_path)) + '.xml'
/third_party/flutter/engine/flutter/third_party/txt/tests/
DMinikinFontForTest.h28 MinikinFontForTest(const std::string& font_path,
31 MinikinFontForTest(const std::string& font_path, int index) in MinikinFontForTest() argument
32 : MinikinFontForTest(font_path, index, std::vector<FontVariation>()) {} in MinikinFontForTest()
33 MinikinFontForTest(const std::string& font_path) in MinikinFontForTest() argument
34 : MinikinFontForTest(font_path, 0) {} in MinikinFontForTest()
DMinikinFontForTest.cpp38 const std::string& font_path, in MinikinFontForTest() argument
42 mFontPath(font_path), in MinikinFontForTest()
45 int fd = open(font_path.c_str(), O_RDONLY); in MinikinFontForTest()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/subset/
Dsubset_test_suite.py9 def __init__(self, font_path, profile_path, subset): argument
10 self.font_path = font_path
22 font_base_name = os.path.basename(self.font_path)
32 font_base_name = os.path.basename(self.font_path)
/third_party/harfbuzz/test/subset/
Dsubset_test_suite.py8 def __init__(self, font_path, profile_path, subset): argument
9 self.font_path = font_path
24 font_base_name = os.path.basename(self.font_path)
39 font_base_name = os.path.basename(self.font_path)
/third_party/skia/third_party/externals/harfbuzz/test/subset/
Dsubset_test_suite.py8 def __init__(self, font_path, profile_path, subset): argument
9 self.font_path = font_path
28 font_base_name = os.path.basename(self.font_path)
43 font_base_name = os.path.basename(self.font_path)
/third_party/skia/third_party/externals/harfbuzz/perf/
Dperf-shaping.hh7 const char *font_path) in shape() argument
11 hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); in shape()
/third_party/harfbuzz/perf/
Dperf-shaping.hh7 const char *font_path) in shape() argument
11 hb_blob_t *blob = hb_blob_create_from_file (font_path); in shape()

12