/external/sfntly/cpp/src/sample/subtly/ |
utils.h | 24 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,
|
utils.cc | 29 CALLER_ATTACH Font* LoadFont(const char* font_path) { 33 LoadFonts(font_path, font_factory, &fonts); 37 CALLER_ATTACH Font::Builder* LoadFontBuilder(const char* font_path) { 41 LoadFontBuilders(font_path, font_factory, &builders); 45 void LoadFonts(const char* font_path, FontFactory* factory, FontArray* fonts) { 47 input_stream.Open(font_path); 52 void LoadFontBuilders(const char* font_path, 56 input_stream.Open(font_path); 61 bool SerializeFont(const char* font_path, Font* font) { 62 if (!font_path) [all...] |
subsetter.h | 29 Subsetter(const char* font_path, CharacterPredicate* predicate);
|
merger_main.cc | 36 void CheckLoading(const char* font_path, Font* font) { 38 fprintf(stderr, "Could not load font %s. Terminating.\n", font_path);
|
subsetter.cc | 40 Subsetter::Subsetter(const char* font_path, CharacterPredicate* predicate) 42 font_.Attach(LoadFont(font_path));
|
/external/sfntly/cpp/src/test/ |
test_font_utils.h | 26 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,
|
test_font_utils.cc | 27 void BuilderForFontFile(const char* font_path, FontFactory* factory, 31 is.Open(font_path); 36 void SerializeFont(const char* font_path, FontFactory* factory, Font* font) { 37 assert(font_path); 42 SerializeToFile(&output_stream, font_path); 45 void LoadFont(const char* font_path, FontFactory* factory, FontArray* fonts) { 47 is.Open(font_path); 52 void LoadFontUsingByteVector(const char* font_path, 56 LoadFile(font_path, &bv);
|
/frameworks/minikin/tests/util/ |
MinikinFontForTest.h | 28 MinikinFontForTest(const std::string& font_path, int index, 30 MinikinFontForTest(const std::string& font_path, int index) 31 : MinikinFontForTest(font_path, index, std::vector<FontVariation>()) {} 32 MinikinFontForTest(const std::string& font_path) : MinikinFontForTest(font_path, 0) {}
|
MinikinFontForTest.cpp | 37 MinikinFontForTest::MinikinFontForTest(const std::string& font_path, int index, 40 mFontPath(font_path), 43 int fd = open(font_path.c_str(), O_RDONLY);
|
/external/ImageMagick/MagickCore/ |
type.c | 212 *font_path, 232 font_path=GetEnvironmentValue("MAGICK_FONT_PATH"); 233 if (font_path != (char *) NULL) 241 (void) FormatLocaleString(path,MagickPathExtent,"%s%s%s",font_path, 249 font_path=DestroyString(font_path); 206 *font_path, local 1073 font_path[MagickPathExtent], local [all...] |
/external/noto-fonts/emoji-compat/ |
createfont.py | 72 FONT_PATH = os.path.join(FONT_DIR, 'NotoColorEmojiCompat.ttf') 411 def validate_input_files(font_path, unicode_path): 413 if not os.path.isfile(font_path): 414 raise ValueError("Font file does not exist: " + font_path) 431 def __init__(self, font_path, unicode_path): 432 validate_input_files(font_path, unicode_path) 434 self.font_path = font_path 520 :param font_path: path to Android NotoColorEmoji font 536 with contextlib.closing(ttLib.TTFont(self.font_path, recalcTimestamp=False)) as ttf [all...] |
/frameworks/base/tools/fonts/ |
fontchain_lint.py | 77 font_path = path.join(_fonts_dir, font_file) 79 return ttLib.TTFont(font_path, fontNumber=index) 81 return ttLib.TTFont(font_path)
|