You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/10/20 20:17:27 UTC

[jira] [Closed] (PDFBOX-3039) FileSystemFontProvider: java.lang.IllegalArgumentException: Key too long: /usr/local/share/fonts/chromeos/notofonts-20140815/NotoSansGujaratiUI-Regular.ttf

     [ https://issues.apache.org/jira/browse/PDFBOX-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr closed PDFBOX-3039.
-----------------------------------
    Resolution: Duplicate

duplicate of PDFBOX-3001, I'll add you as a watcher there.

> 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org