Adam Hooper created PDFBOX-3039: ----------------------------------- Summary: FileSystemFontProvider: java.lang.IllegalArgumentException: Key too long: /usr/local/share/fonts/chromeos/notofonts-20140815/NotoSansGujaratiUI-Regular.ttf Key: PDFBOX-3039 URL: https://issues.apache.org/jira/browse/PDFBOX-3039 Project: PDFBox Issue Type: Bug Components: PDModel Affects Versions: 2.0.0 Environment: Ubuntu 15.10 with quite a few fonts Reporter: Adam Hooper Priority: Blocker
{{FileSystemFontProvider}} calls {{Preferences.putByteArray()}}, which crashes if the key is longer than 80 characters. Font filenames are often longer than 80 characters. So FileSystemFontProvider often crashes. This happens even if I try to use {{PDType1Font.HELVETICA}} ... meaning PDFBox can't read or write PDFs on my system. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org