[
https://issues.apache.org/jira/browse/FOP-3068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Steiner resolved FOP-3068.
--------------------------------
Fix Version/s: trunk
Resolution: Fixed
http://svn.apache.org/viewvc?view=revision&revision=1901445
> 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
> Assignee: Simon Steiner
> Priority: Critical
> Fix For: trunk
>
> Attachments: conf.xml
>
>
> 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)