Skip to content

Commit

Permalink
PDFBOX-5652: improve log message
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1911631 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Aug 14, 2023
1 parent f81c484 commit 1e86e2d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,9 @@ private void extractDataFromSingleSubstTableFormat2Table(

if (coverageTable.getSize() != singleSubstTableFormat2.getSubstituteGlyphIDs().length)
{
LOG.warn("The no. coverage table entries should be the same as the size of the substituteGlyphIDs");
LOG.warn("The coverage table size (" + coverageTable.getSize() +
") should be the same as the count of the substituteGlyphIDs tables (" +
singleSubstTableFormat2.getSubstituteGlyphIDs().length + ")");
return;
}

Expand All @@ -242,7 +244,9 @@ private void extractDataFromMultipleSubstitutionFormat1Table(

if (coverageTable.getSize() != multipleSubstFormat1Subtable.getSequenceTables().length)
{
LOG.warn("The no. coverage table entries should be the same as the size of the sequencce tables");
LOG.warn("The coverage table size (" + coverageTable.getSize() +
") should be the same as the count of the sequence tables (" +
multipleSubstFormat1Subtable.getSequenceTables().length + ")");
return;
}

Expand Down

0 comments on commit 1e86e2d

Please sign in to comment.