mirror of
https://github.com/UglyToad/PdfPig.git
synced 2026-03-10 00:23:29 +08:00
port type 1 lexer from pdf box and add test data
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user