Lines Matching defs:file
4 * you may not use this file except in compliance with the License.
68 string(path), // font file path
69 face->family_name, // family name as defined in font file
70 face->style_name, // style name as defined in font file
72 face->face_index, // face index for quick access to face in font file
160 IFile::Ptr file = fileManager.OpenFile(typeFace.path);
161 if (file == nullptr) {
166 const size_t len = static_cast<size_t>(file->GetLength());
170 if (len != file->Read(bytes.data(), bytes.size())) {
249 IFile::Ptr file = fileManager.OpenFile(path);
250 if (file == nullptr) {
256 const size_t len = static_cast<size_t>(file->GetLength());
259 if (len != file->Read(buf.data(), buf.size())) {
313 for (auto const& file : files) {
314 if (file.type == IDirectory::Entry::Type::FILE) {
315 GetTypeFacesByFile(typeFaces, path + file.name);
512 // Check if file data cache has this font