diff --git a/src/UglyToad.PdfPig/Fonts/Type1/Parser/Type1EncryptedPortionParser.cs b/src/UglyToad.PdfPig/Fonts/Type1/Parser/Type1EncryptedPortionParser.cs index ed8b6a9f..c16c5fbc 100644 --- a/src/UglyToad.PdfPig/Fonts/Type1/Parser/Type1EncryptedPortionParser.cs +++ b/src/UglyToad.PdfPig/Fonts/Type1/Parser/Type1EncryptedPortionParser.cs @@ -156,18 +156,6 @@ { var procedureTokens = ReadProcedure(tokenizer); - if (!isLenientParsing) - { - var valid = procedureTokens.Count == 2 && procedureTokens[0].AsInt() == 16 - && procedureTokens[1].AsInt() == 16; - - if (!valid) - { - var valueMessage = $"{{ {string.Join(", ", procedureTokens.Select(x => x.ToString()))} }}"; - throw new InvalidOperationException($"Type 1 font MinFeature should be {{16,16}} but got: {valueMessage}."); - } - } - builder.MinFeature = new MinFeature(procedureTokens[0].AsInt(), procedureTokens[1].AsInt()); ReadTillDef(tokenizer);