From 68e04603c038153e7524e8dec47fa1839961e736 Mon Sep 17 00:00:00 2001 From: BobLd Date: Mon, 2 Sep 2019 19:07:27 +0100 Subject: [PATCH] Fix error in DocstrumBB --- src/UglyToad.PdfPig/DocumentLayoutAnalysis/DocstrumBB.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/UglyToad.PdfPig/DocumentLayoutAnalysis/DocstrumBB.cs b/src/UglyToad.PdfPig/DocumentLayoutAnalysis/DocstrumBB.cs index b2fca5c3..50cc112b 100644 --- a/src/UglyToad.PdfPig/DocumentLayoutAnalysis/DocstrumBB.cs +++ b/src/UglyToad.PdfPig/DocumentLayoutAnalysis/DocstrumBB.cs @@ -102,7 +102,7 @@ namespace UglyToad.PdfPig.DocumentLayoutAnalysis // 2. Rebuild lines, using max distance = +Inf as we know all words will be in the // same block. Filtering will still be done based on angle. - var mergedLines = GetLines(mergedWords.ToArray(), wlAngleLB, wlAngleUB, double.MaxValue); + var mergedLines = GetLines(mergedWords.ToArray(), double.MaxValue, wlAngleLB, wlAngleUB); blocks[b] = new TextBlock(mergedLines.ToList()); // Remove