Lines Matching refs:fontName
105 void GlyphsFile::SetFontName(const char* fontName)
111 if (fontName == nullptr) {
116 uint32_t nameLen = strlen(fontName);
127 if (memcpy_s(fontName_, nameLen, fontName, nameLen) != EOK) {
133 int8_t GlyphsFile::SetFile(const char* fontName, int32_t fp, uint32_t start)
135 SetFontName(fontName);
190 bool GlyphsFile::IsSameFile(const char* fontName)
192 if ((fontName_ == nullptr) || (fontName == nullptr)) {
197 uint32_t nameLen = strlen(fontName);
201 return (strcmp(fontName_, fontName + Offset) == 0);
253 int8_t GlyphsFile::GetFontVersion(const char* fontName, char* version, uint8_t len)
260 if (!IsSameFile(fontName)) {