pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1846292 - /pdfbox/branches/2.0/tools/src/main/java/org/apache/pdfbox/tools/ExtractText.java
Date Sat, 10 Nov 2018 10:06:32 GMT
Author: tilman
Date: Sat Nov 10 10:06:32 2018
New Revision: 1846292

URL: http://svn.apache.org/viewvc?rev=1846292&view=rev
Log:
PDFBOX-4371: improve javadoc

Modified:
    pdfbox/branches/2.0/tools/src/main/java/org/apache/pdfbox/tools/ExtractText.java

Modified: pdfbox/branches/2.0/tools/src/main/java/org/apache/pdfbox/tools/ExtractText.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/tools/src/main/java/org/apache/pdfbox/tools/ExtractText.java?rev=1846292&r1=1846291&r2=1846292&view=diff
==============================================================================
--- pdfbox/branches/2.0/tools/src/main/java/org/apache/pdfbox/tools/ExtractText.java (original)
+++ pdfbox/branches/2.0/tools/src/main/java/org/apache/pdfbox/tools/ExtractText.java Sat Nov
10 10:06:32 2018
@@ -438,7 +438,9 @@ public final class ExtractText
 
 /**
  * Collect all angles while doing text extraction. Angles are in degrees and rounded to the
closest
- * integer. Must be constructed for each page.
+ * integer (to avoid slight differences from floating point arithmethic resulting in similarly
+ * angled glyphs being treated separately). This class must be constructed for each page
so that the
+ * angle set is initialized.
  */
 class AngleCollector extends PDFTextStripper
 {



Mime
View raw message