legacy-knowledge-base
公開されました Jun. 30, 2025

ItextPDFで生成されたPDF文書のプレビューで、文字と文字の間に不要なスペースがある。

written-by

Sorin Pop

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ItextPDF 7.2.5 APIを使用してプログラムでPDFファイルを生成しています。
  • 使用ライブラリは
    compileOnly group: 'com.itextpdf', name: 'itext7-core', version: '7.2.5'です。
  • このようなPDFファイルをDXPのドキュメントとメディアにアップロードし、出来上がったドキュメントをクリックすると、表示されたプレビューでは、特にヘッダーの単語に奇妙なスペースが含まれていることがわかります。

環境

  • 7.3

解像度

did-this-article-resolve-your-issue

legacy-knowledge-base