Lines Matching refs:path
65 TypeFace InitTypeFace(FT_Face face, string_view path, string_view filename)
68 string(path), // font file path
160 IFile::Ptr file = fileManager.OpenFile(typeFace.path);
162 CORE_LOG_E("failed to open font %s | %s", typeFace.path.data(), GetErrorString().c_str());
171 CORE_LOG_E("failed to read %zu bytes from %s | %s", len, typeFace.path.data(), GetErrorString().c_str());
245 void FontManager::GetTypeFacesByFile(vector<TypeFace>& typeFaces, string_view path)
249 IFile::Ptr file = fileManager.OpenFile(path);
251 CORE_LOG_E("failed to open font %s | %s", path.data(), GetErrorString().c_str());
255 auto entry = fileManager.GetEntry(path);
260 CORE_LOG_E("failed to read %zu bytes from %s | %s", len, path.data(), GetErrorString().c_str());
280 typeFaces.push_back(InitTypeFace(face, path, entry.name));
285 CORE_LOG_N("%s", path.data());
297 CORE_LOG_W("failed to create face: %s", path.data());
302 void FontManager::GetTypeFacesByDir(vector<TypeFace>& typeFaces, string_view path)
305 IDirectory::Ptr dir = fileManager.OpenDirectory(path);
311 CORE_LOG_N("check dir '%s' with %zu entries", path.data(), files.size());
315 GetTypeFacesByFile(typeFaces, path + file.name);