PdfStamper: avoid double closing; update Javadoc.
PdfReader: fixed confusing error message that reported the wrong value.
CMapAwareDocumentFont: Apply the font mapping first before overriding it with the ToUnicode.
GlyphList: added support for char names of the format uniXXXX (with XXXX a hexadecimal value).
PdfSmartCopy: circular references in PDFs (constructions where object A refers to object B and object B refers back to object A) could cause endless loops resulting in an
BidiLine: the remaining width of an empty line should be equal to original width of its container (be it
PdfReader: The method
eliminateSharedStreams()now has to be called explicitly if you intend to change something to one specific stream.
NullPointerExceptionwhen using an
isRevocationValid()method shouldn't assume SHA-1 as digest algorithm.
Chunkshouldn't have the "power" to change the properties of an
Imageobject. If the
Imageis also used in a different context, you risk unwanted side-effects (getting the image in a different size than you expected).
EncryptionAlgorithms: Added missing OID for RSA.
PdfContentByte: introduction of an
isTagged()function that checks if the writer object isn't null before invoking
AcroFields: changing the font with
setFieldProperty()didn't work if no resources dictionary (
/DR) was available.
AcroFields: the boolean
generateAppearancesis true by default, which means we need to remove the
/NeedAppearancesentry. It will be reintroduced if somebody triggers
setGenerateAppearances(false);Note that the presence of
truecauses recent versions of Adobe Reader to ask the end user if he wants to save the form, even if he didn't change anything.
AcroFieldsbugfix: In case a prefilled form was flattened, the prefilled text fields were disappearing because they weren't regenerated.
LtvVerification: Added a method that gets the issuing certificate of a certificate from a list of available certificates. This method is used when getting an OCSP response for a certificate (which requires the parent certificate).