Add test to ensure #822 is fixed

This commit is contained in:
BobLd
2025-05-18 22:14:23 +01:00
parent 6911f31b49
commit e4d7805a1f
2 changed files with 15 additions and 0 deletions

View File

@@ -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()
{