Stephan Wienczny created FOP-3068:
-------------------------------------

             Summary: NPE in FontInfoFinder for .ttc fonts 
                 Key: FOP-3068
                 URL: https://issues.apache.org/jira/browse/FOP-3068
             Project: FOP
          Issue Type: Bug
          Components: font/opentype
    Affects Versions: 2.7
            Reporter: Stephan Wienczny


When running FontInfoFinder::find on NotoSansCJK-Regular.ttc or 
NotoSerifCJK-Regular.ttc this causes an NPE in line 219
{code:java}
for (String fontName : ttcNames) { {code}
because ttcNames is null.

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



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to