mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-09-19 10:47:56 +08:00
Fix format as suggested.
This commit is contained in:
@@ -103,6 +103,7 @@ namespace UglyToad.PdfPig.DocumentLayoutAnalysis
|
||||
//Create new leaf with non-whitespace words.
|
||||
leaf = new XYLeaf(words);
|
||||
}
|
||||
|
||||
if (leaf.CountWords() <= 1 || leaf.BoundingBox.Width <= minimumWidth)
|
||||
{
|
||||
// we stop cutting if
|
||||
@@ -212,7 +213,6 @@ namespace UglyToad.PdfPig.DocumentLayoutAnalysis
|
||||
return leaf;
|
||||
}
|
||||
|
||||
|
||||
// determine dominantFontWidth and dominantFontHeight
|
||||
decimal domFontWidth = dominantFontWidthFunc(words.SelectMany(x => x.Letters)
|
||||
.Select(x => Math.Abs(x.GlyphRectangle.Width)));
|
||||
|
Reference in New Issue
Block a user