Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5652

IllegalArgumentException: The no. coverage table entries should be the same as the size of the substituteGlyphIDs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0 PDFBox
    • 3.0.0 PDFBox
    • FontBox
    • None

    Description

      java.lang.IllegalArgumentException: The no. coverage table entries should be the same as the size of the substituteGlyphIDs
      at org.apache.fontbox.ttf.gsub.GlyphSubstitutionDataExtractor.extractDataFromSingleSubstTableFormat2Table(GlyphSubstitutionDataExtractor.java:223)
      at org.apache.fontbox.ttf.gsub.GlyphSubstitutionDataExtractor.extractData(GlyphSubstitutionDataExtractor.java:183)
      at org.apache.fontbox.ttf.gsub.GlyphSubstitutionDataExtractor.populateGsubData(GlyphSubstitutionDataExtractor.java:153)
      at org.apache.fontbox.ttf.gsub.GlyphSubstitutionDataExtractor.populateGsubData(GlyphSubstitutionDataExtractor.java:139)
      at org.apache.fontbox.ttf.gsub.GlyphSubstitutionDataExtractor.buildMapBackedGsubData(GlyphSubstitutionDataExtractor.java:102)
      at org.apache.fontbox.ttf.gsub.GlyphSubstitutionDataExtractor.getGsubData(GlyphSubstitutionDataExtractor.java:70)
      at org.apache.fontbox.ttf.GlyphSubstitutionTable.read(GlyphSubstitutionTable.java:107)

      Attachments

        1. 2R3C22XF4IHLT22NFRA3EDFPOSQ3N4BP.pdf
          2.53 MB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: