Pruteanu Dragos created PDFBOX-4425:
---------------------------------------
Summary: Font Encoding Feature
Key: PDFBOX-4425
URL: https://issues.apache.org/jira/browse/PDFBOX-4425
Project: PDFBox
Issue Type: New Feature
Affects Versions: 2.0.13
Reporter: Pruteanu Dragos
I use PdfBox in an desktop application, which can be used by any user, with any
language( EN, Chinese, etc. ). There are cases when I get exceptions like this:
java.lang.IllegalArgumentException:U+F0A7('.notedef' is not available in this
font Helvetica-Bold encoding: WinAnsiEncoding
at org.apache.pdfbox.pdfmodel.font.PDType1Font.encode(PDType1Font.jaav:426),
PdfFont.encode(PDFont.java:324), PDFont.getStringWidth(PDFont.java:353),...
be.quodlibet.boxable.....
I am using the boxable library to represent tables in PdfBox. This case seems
to be from a text where a bullet is used ( a kind of ''*').
How is possible for me to avoid this errors ? I would like the characters which
cannot be mapped to be simply skipped and throw no exception. Maybe to have a
PdfBox setting .setIgnoreUnknownCharacters() ?
Also, which is the best approach so PdfBox works for peoples using Chinese on
their computer ? Can PdfBox look for the proper font in the Operating System ?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]