Home
last modified time | relevance | path

Searched refs:fontPath (Results 1 - 4 of 4) sorted by relevance

/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/
H A Dfont_mgr_test.cpp166 std::string fontPath = TTF_FILE_PATH; in HWTEST_F() local
167 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F()
188 std::string fontPath = OTF_FILE_PATH; in HWTEST_F() local
189 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F()
210 std::string fontPath = TTC_FILE_PATH; in HWTEST_F() local
211 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F()
232 std::string fontPath = ERRORPATH_FILE_PATH; in HWTEST_F() local
233 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F()
270 std::string fontPath = ERRORFORMAT_FILE_PATH; in HWTEST_F() local
271 int fd = open(fontPath in HWTEST_F()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/src/
H A Dfont_descriptor_cache.cpp78 std::string fontPath = INSTALL_FONT_CONFIG_FILE; in ParserInstallFonts() local
80 if (!ParseInstalledConfigFile(fontPath, fontPathList)) { in ParserInstallFonts()
92 bool FontDescriptorCache::ParseInstalledConfigFile(const std::string& fontPath, std::vector<std::string>& fontPathList) in ParseInstalledConfigFile() argument
95 std::ifstream configFile(fontPath); in ParseInstalledConfigFile()
100 return (fontMgr->ParseInstallFontConfig(fontPath, fontPathList) == Drawing::FontCheckCode::SUCCESSED); in ParseInstalledConfigFile()
H A Dfont_config.cpp485 int FontConfigJson::ParseInstallConfig(const char* fontPath, std::vector<std::string>& fontPathList) in ParseInstallConfig() argument
487 if (fontPath == nullptr) { in ParseInstallConfig()
492 cJSON* root = CheckConfigFile(fontPath); in ParseInstallConfig()
H A Dfont_descriptor_cache.h45 bool ParseInstalledConfigFile(const std::string& fontPath, std::vector<std::string>& fontPathList);

Completed in 4 milliseconds