diff --git a/src/UglyToad.PdfPig.Tests/Integration/GithubIssuesTests.cs b/src/UglyToad.PdfPig.Tests/Integration/GithubIssuesTests.cs index cc404f0e2..8c2b70061 100644 --- a/src/UglyToad.PdfPig.Tests/Integration/GithubIssuesTests.cs +++ b/src/UglyToad.PdfPig.Tests/Integration/GithubIssuesTests.cs @@ -7,6 +7,21 @@ public class GithubIssuesTests { + [Fact] + public void Issue822() + { + var path = IntegrationHelpers.GetSpecificTestDocumentPath("FileData_7.pdf"); + + using (var document = PdfDocument.Open(path, new ParsingOptions() { UseLenientParsing = true })) + { + for (int p = 1; p <= document.NumberOfPages; p++) + { + var page = document.GetPage(p); + Assert.NotNull(page.Letters); + } + } + } + [Fact] public void Issue1040() { diff --git a/src/UglyToad.PdfPig.Tests/Integration/SpecificTestDocuments/FileData_7.pdf b/src/UglyToad.PdfPig.Tests/Integration/SpecificTestDocuments/FileData_7.pdf new file mode 100644 index 000000000..22a926b69 Binary files /dev/null and b/src/UglyToad.PdfPig.Tests/Integration/SpecificTestDocuments/FileData_7.pdf differ