[
https://issues.apache.org/jira/browse/FOP-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538902#comment-17538902
]
Simon Steiner commented on FOP-3068:
------------------------------------
Can you give a url to the fontfile
> 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
> Priority: Critical
>
> 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)