Home
last modified time | relevance | path

Searched refs:font_path (Results 1 – 7 of 7) 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/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,