Home
last modified time | relevance | path

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

/external/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()
Dsubsetter.h29 Subsetter(const char* font_path, CharacterPredicate* predicate);
/external/fonttools/Tests/ttx/
Dttx_test.py53 def temp_font(self, font_path, file_name): argument
56 shutil.copy2(font_path, temppath)
83 font_path = self.getpath(file_name)
84 temp_path = self.temp_font(font_path, file_name)
97 font_path = self.getpath(file_name)
98 temp_path = self.temp_font(font_path, file_name)
112 font_path = self.getpath(file_name)
113 temp_path = self.temp_font(font_path, file_name)
126 font_path = self.getpath(file_name)
127 temp_path = self.temp_font(font_path, file_name)
[all …]
/external/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,
/external/harfbuzz_ng/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)
Drun-tests.py56 print (' test.font_path %s' % os.path.abspath (test.font_path))
67 "--font-file=" + test.font_path,
Dgenerate-expected-outputs.py45 generate_expected_output(test.font_path, unicodes, test.get_profile_flags(),
/external/ImageMagick/MagickCore/
Dtype.c205 *font_path, in AcquireTypeCache() local
225 font_path=GetEnvironmentValue("MAGICK_FONT_PATH"); in AcquireTypeCache()
226 if (font_path != (char *) NULL) in AcquireTypeCache()
234 (void) FormatLocaleString(path,MagickPathExtent,"%s%s%s",font_path, in AcquireTypeCache()
242 font_path=DestroyString(font_path); in AcquireTypeCache()
1032 char *font_path,const char *token,char **target) in SetTypeNodePath() argument
1040 SubstituteString(&path,"@ghostscript_font_path@",font_path); in SetTypeNodePath()
1048 GetPathComponent(filename,HeadPath,font_path); in SetTypeNodePath()
1049 (void) ConcatenateMagickString(font_path,DirectorySeparator, in SetTypeNodePath()
1051 (void) ConcatenateMagickString(font_path,token,MagickPathExtent); in SetTypeNodePath()
[all …]
/external/fonttools/Snippets/
Dedit_raw_table_data.py4 font_path = "myfont.ttf" variable
12 font = TTFont(font_path)
/external/noto-fonts/emoji-compat/
Dcreatefont.py422 def validate_input_files(font_path, unicode_path): argument
424 if not os.path.isfile(font_path):
425 raise ValueError("Font file does not exist: " + font_path)
455 def __init__(self, font_path, unicode_path): argument
456 validate_input_files(font_path, unicode_path)
458 self.font_path = font_path
570 [self.font_path, OUTPUT_META_FILE, FLATBUFFER_SCHEMA])
615 with contextlib.closing(ttLib.TTFont(self.font_path, recalcTimestamp=False)) as ttf:
/external/fonttools/Tests/cffLib/
DcffLib_test.py51 font_path = self.getpath(file_name)
52 temp_path = self.temp_font(font_path, file_name)
/external/harfbuzz_ng/test/api/
Dhb-test.h281 hb_test_open_font_file (const char *font_path) in hb_test_open_font_file() argument
284 char *path = g_test_build_filename (G_TEST_DIST, font_path, NULL); in hb_test_open_font_file()
286 char *path = g_strdup (font_path); in hb_test_open_font_file()
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()
/external/harfbuzz_ng/util/
Doptions.cc650 const char *font_path = font_file; in get_font() local
652 if (0 == strcmp (font_path, "-")) in get_font()
656 font_path = "STDIN"; in get_font()
658 font_path = "/dev/stdin"; in get_font()
662 blob = hb_blob_create_from_file (font_path); in get_font()
665 fail (false, "Couldn't read or find %s, or it was empty.", font_path); in get_font()
/external/fonttools/Lib/fontTools/misc/
DtestTools.py182 def temp_font(self, font_path, file_name): argument
185 shutil.copy2(font_path, temppath)