Home
last modified time | relevance | path

Searched refs:font_path (Results 1 – 9 of 9) 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,
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);
/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/ImageMagick/MagickCore/
Dtype.c206 *font_path, in AcquireTypeCache() local
226 font_path=GetEnvironmentValue("MAGICK_FONT_PATH"); in AcquireTypeCache()
227 if (font_path != (char *) NULL) in AcquireTypeCache()
235 (void) FormatLocaleString(path,MagickPathExtent,"%s%s%s",font_path, in AcquireTypeCache()
243 font_path=DestroyString(font_path); in AcquireTypeCache()
1033 char *font_path,const char *token,char **target) in SetTypeNodePath() argument
1041 SubstituteString(&path,"@ghostscript_font_path@",font_path); in SetTypeNodePath()
1049 GetPathComponent(filename,HeadPath,font_path); in SetTypeNodePath()
1050 (void) ConcatenateMagickString(font_path,DirectorySeparator, in SetTypeNodePath()
1052 (void) ConcatenateMagickString(font_path,token,MagickPathExtent); in SetTypeNodePath()
[all …]
/external/noto-fonts/emoji-compat/
Dcreatefont.py414 def validate_input_files(font_path, unicode_path): argument
416 if not os.path.isfile(font_path):
417 raise ValueError("Font file does not exist: " + font_path)
447 def __init__(self, font_path, unicode_path): argument
448 validate_input_files(font_path, unicode_path)
450 self.font_path = font_path
553 [self.font_path, OUTPUT_META_FILE, FLATBUFFER_SCHEMA])
598 with contextlib.closing(ttLib.TTFont(self.font_path, recalcTimestamp=False)) as ttf: