Skip to content

Commit

Permalink
TIKA-4326: update pdfbox
Browse files Browse the repository at this point in the history
  • Loading branch information
THausherr committed Jan 24, 2025
1 parent 147d9b1 commit 74f75cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions tika-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,7 @@
<osgi.util.version>1.2.0</osgi.util.version>
<parso.version>2.0.14</parso.version>
<pax.exam.version>4.14.0</pax.exam.version>
<!-- TODO when updating to 3.0.4, search for TIKA-2342 and achtivate the changes -->
<pdfbox.version>3.0.3</pdfbox.version>
<pdfbox.version>3.0.4</pdfbox.version>
<poi.version>5.4.0</poi.version>
<protobuf.version>3.25.5</protobuf.version>
<quartz.version>2.5.0</quartz.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ public void configure(PDF2XHTML pdf2XHTML) {
pdf2XHTML.setDropThreshold(dropThreshold);
}
pdf2XHTML.setSuppressDuplicateOverlappingText(isSuppressDuplicateOverlappingText());
// TODO TIKA-2342 activate after PDFBox release
//pdf2XHTML.setIgnoreContentStreamSpaceGlyphs(isIgnoreContentStreamSpaceGlyphs());
pdf2XHTML.setIgnoreContentStreamSpaceGlyphs(isIgnoreContentStreamSpaceGlyphs());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,7 @@ public void testDuplicateOverlappingText() throws Exception {

}

// TODO TIKA-2342 activate after PDFBox release
// @Test
@Test
public void testIgnoreContentStreamSpaceGlyphs() throws Exception {
PDFParser parser = new PDFParser();
// Default is false (keep spaces, don't sort):
Expand Down

0 comments on commit 74f75cf

Please sign in to comment.