legacy-knowledge-base
公開されました Jul. 2, 2025

CmapSubtable の警告 (PDFBox)

written-by

József Géczi

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

問題

  • Liferayのログでは、以下のような警告が発生します。
2019-08-30 07:49:23.393 WARN [default-4][CmapSubtable:185] Format 14 cmap table is not supported and will be ignored

環境

  • Liferay DXP 7.1

解決

  • 上記の警告メッセージが注意を促すクラスは、PDFBox の一部である CmapSubtableです。
    PDF ファイルが環境上でこの警告メッセージのトリガーとなっている可能性が非常に高く、これは PDFBox が PDF 内に埋め込まれた TrueType フォントのレンダリングをサポートしていないことを示しています。 これは PDFBox の制限です。
  • そのため、以下のような選択肢が考えられます。
    1. これらの警告を無視してください(そうでなければPDFプレビューは期待通りに動作します。)
    2. OpenOffice/LibreOfficeまたはImageMagicベースのプレビュー生成への切り替えを検討してください。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base