port type 1 lexer from pdf box and add test data

This commit is contained in:
Eliot Jones
2018-10-23 20:02:20 +01:00
parent c8c32eab24
commit df0b60c2e1
9 changed files with 528 additions and 6 deletions

View File

@@ -28,6 +28,17 @@
}
}
[Fact]
public void LettersHaveHeight()
{
using (var document = PdfDocument.Open(GetFilename()))
{
var page = document.GetPage(1);
Assert.NotEqual(0, page.Letters[0].GlyphRectangle.Height);
}
}
[Fact]
public void HasCorrectNumberOfPages()
{