Отчет PDF показывает необычный текст после обновления версий Commons-IO, Tika-Core и PDFBoxJAVA

Программисты JAVA общаются здесь
Anonymous
Отчет PDF показывает необычный текст после обновления версий Commons-IO, Tika-Core и PDFBox

Сообщение Anonymous »

Я недавно обновил следующие зависимости в моем родительском pom.xml: < /p>


commons-io
commons-io
2.19.0



org.apache.tika
tika-core
3.1.0



org.apache.pdfbox
pdfbox
3.0.0

< /code>


commons-io
commons-io
2.20.0



org.apache.tika
tika-core
3.2.1



org.apache.pdfbox
pdfbox
3.0.5

< /code>
In the older versions, when I generated reports in PDF format, everything worked fine — the text displayed correctly.
However, after the upgrade, when I download a report in PDF format from my application, I get weird/unusual text in the document.
Question:
What could be causing this garbled text issue in PDFs after upgrading pdfbox, tika-core, and commons-io? Are there any known breaking changes in these versions that could affect PDF text rendering or encoding?
Additional details:
  • My application also supports downloading the same report in XLS format, which works perfectly both before and after the upgrade.
  • Only the PDF format is affected.
  • The code for generating reports has not been changed, only the library versions were updated.


Подробнее здесь: https://stackoverflow.com/questions/797 ... and-pdfbox

Вернуться в «JAVA»