Home
last modified time | relevance | path

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

/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h31 FreeTypeMinikinFontForTest(const std::string& font_path, int index);
32 FreeTypeMinikinFontForTest(const std::string& font_path) in FreeTypeMinikinFontForTest() argument
33 : FreeTypeMinikinFontForTest(font_path, 0) {} in FreeTypeMinikinFontForTest()
DFreeTypeMinikinFontForTest.cpp61 FreeTypeMinikinFontForTest::FreeTypeMinikinFontForTest(const std::string& font_path, int index) in FreeTypeMinikinFontForTest() argument
62 : MinikinFont(uniqueId++), mFontPath(font_path), mFontIndex(index) { in FreeTypeMinikinFontForTest()
63 int fd = open(font_path.c_str(), O_RDONLY); in FreeTypeMinikinFontForTest()
64 LOG_ALWAYS_FATAL_IF(fd == -1, "Open failed: %s", font_path.c_str()); in FreeTypeMinikinFontForTest()
/frameworks/base/tools/fonts/
Dfontchain_linter.py78 font_path = path.join(_fonts_dir, font_file)
80 return ttLib.TTFont(font_path, fontNumber=index)
82 return ttLib.TTFont(font_path)