Home
last modified time | relevance | path

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

/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()
Dsubsetter.h29 Subsetter(const char* font_path, CharacterPredicate* predicate);
/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/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/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/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)
Drun-tests.py43 print (' test.font_path %s' % os.path.abspath (test.font_path))
53 cli_args = ["--font-file=" + test.font_path,
Drepack_test.py16 def font_path(self): member in RepackTest
Dgenerate-expected-outputs.py86 generate_expected_output(test.font_path, unicodes, test.get_profile_flags(),
Drun-repack-tests.py49 cli_args = ["--font-file=" + test.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()
Dperf-extents.hh11 static void extents (benchmark::State &state, const char *font_path, bool is_var, backend_t backend) in extents() argument
16 hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); in extents()
Dperf-draw.hh56 static void draw (benchmark::State &state, const char *font_path, bool is_var, backend_t backend) in draw() argument
61 hb_blob_t *blob = hb_blob_create_from_file_or_fail (font_path); in draw()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-multithread.c34 static const char *font_path = "fonts/Inconsolata-Regular.abc.ttf"; variable
129 char *path = argc > 1 && *argv[1] ? argv[1] : (char *) font_path; in main()
Dhb-test.h291 hb_test_open_font_file (const char *font_path) in hb_test_open_font_file() argument
294 char *path = g_test_build_filename (G_TEST_DIST, font_path, NULL); in hb_test_open_font_file()
296 char *path = g_strdup (font_path); in hb_test_open_font_file()
/third_party/chromium/patch/
D0004-ohos-3.2-Beta5.patch40206 + return SkTypeface::MakeFromFile(match_result->font_path.c_str(),