[
https://issues.apache.org/jira/browse/PDFBOX-3255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172135#comment-15172135
]
Maruan Sahyoun commented on PDFBOX-3255:
----------------------------------------
Would it be possible to attach a sample PDF together with the name of the field
and the value you are trying to set?
> Reasonable way to handle missing characters in font
> ---------------------------------------------------
>
> Key: PDFBOX-3255
> URL: https://issues.apache.org/jira/browse/PDFBOX-3255
> Project: PDFBox
> Issue Type: Wish
> Components: AcroForm
> Affects Versions: 2.0.0
> Reporter: Christian Brandt
> Labels: newbie
>
> Hello,
> We have an issue with setting form field values if the input contains
> characters that cannot be rendered with the associated font. The system
> throws similar exception to:
> java.lang.IllegalArgumentException: U+0308 ('dieresiscmb') is not available
> in this font's encoding: MacRomanEncoding with differences
> Currently this is problematic to be handled outside the framework because
> based on my understanding (please correct me if I'm wrong) the caller does
> not have a way to figure out what font will be eventually used and therefore
> which characters are not renderable.
> What we would ultimately like, is that the library would optionally replace
> unrenderable characters with some another existing character (e.g. space)
> instead of failing the call, or that the library would provide a way to
> recover from this error so that the user would be able to call the method
> again with altered input.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]