remove clipping to fix CanGetArtifact() test

This commit is contained in:
BobLd
2020-04-04 19:08:04 +01:00
committed by Eliot Jones
parent 270b1b5ef5
commit 9a2a72ea2e

View File

@@ -82,7 +82,8 @@ namespace UglyToad.PdfPig.Tests.Integration
[Fact] [Fact]
public void CanGetArtifact() public void CanGetArtifact()
{ {
using (var document = PdfDocument.Open(GetPath1())) // deactivate clipping for the moment
using (var document = PdfDocument.Open(GetPath1(), new ParsingOptions() { ClipPaths = false }))
{ {
var page = document.GetPage(2); var page = document.GetPage(2);
var mcs = page.GetMarkedContents(); var mcs = page.GetMarkedContents();