Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-3068

NPE in FontInfoFinder for .ttc fonts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.7
    • 2.8
    • font/opentype
    • None

    Description

      When running FontInfoFinder::find on NotoSansCJK-Regular.ttc or NotoSerifCJK-Regular.ttc this causes an NPE in line 219

      for (String fontName : ttcNames) { 

      because ttcNames is null.

      TTFFile::getTTCnames may return null for invalid files. This case should be handled in FontInfoFinder.

      Attachments

        1. conf.xml
          4 kB
          Stephan Wienczny

        Activity

          People

            ssteiner Simon Steiner
            bugbus Stephan Wienczny
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: