public TrueTypeNameRecord(TrueTypePlatformIdentifier platformId, int platformEncodingId, int languageId, int nameId, int length, int offset, string value) { PlatformId = platformId; PlatformEncodingId = platformEncodingId; LanguageId = languageId; NameId = nameId; Length = length; Offset = offset; Value = value; }
/// <summary> /// Create a new <see cref="TrueTypeNameRecord"/>. /// </summary> public TrueTypeNameRecord(TrueTypePlatformIdentifier platformId, ushort platformEncodingId, ushort languageId, ushort nameId, string value) { PlatformId = platformId; PlatformEncodingId = platformEncodingId; LanguageId = languageId; NameId = nameId; Value = value ?? throw new ArgumentNullException(nameof(value)); }