Closed Intelligent2013 closed 1 year ago
The issue occurs in VersionController
class:
The version 1.6 sets in the PDFFactory
:
if (font.getEmbeddingMode() == EmbeddingMode.FULL) {
fontBytes = reader.getAllBytes();
if (isCFF) {
//Ensure version 1.6 for full OTF CFF embedding
document.setPDFVersion(Version.V1_6);
}
Issue fixed.
Errors occurs with updated mn2pdf for PDF version 1.7 (mn2pdf not released yet) for JIS document: