6 ms·
Yes I encountered similar issues but many of them were able to be solved. With PDFBox I was able to deal with the content at a very low level (on a per-charact
by robinhowlett 9y ago
Yes I encountered similar issues but many of them were able to be solved.
With PDFBox I was able to deal with the content at a very low level (on a per-character basis), so that when for instance building a String, I would insert a pipe character when the distance between adjacent characters was greater than the width of the space character and then detect that when translating to a certain field.
See the convertToText() method for an example: https://github.com/robinhowlett/chart-parser/blob/master/src/main/java/com/robinhowlett/chartparser/charts/pdf/Chart.java#L35 https://github.com/robinhowlett/chart-parser/blob/master/src...
and https://github.com/robinhowlett/chart-parser/blob/f8d651e9a19d1f2e58522047c8754d3f27165aab/src/main/java/com/robinhowlett/chartparser/charts/pdf/wagering/WagerPayoffPools.java#L522 https://github.com/robinhowlett/chart-parser/blob/f8d651e9a1... for when I used this technique
- tcho 9y agoVery cool, good to see the level of control this package allows.