MapToUnicode() can't be applied to CIDFont font.

182 Aufrufe
Direkt zur ersten ungelesenen Nachricht

Lee Gillie

ungelesen,
24.09.2013, 13:56:5924.09.13
an pdfne...@googlegroups.com
We are intermittently getting an error calling PDFDoc.Save. It doesn't
happen every time. It doesn't necessarily happen on the same output
file. BTW, the output file pages are from 3 separate PDF input files,
where we merge pages by account number, and reorder pages. There is no
original content we are adding. I can not identify a condition that
either consistently makes the error happen or not happen. Otherwise
successive test runs are taking identical inputs, and producing an
identical output. From your experience can you give me a clue for
possibilities to pursue please?

pdftron.Common.PDFNetException occurred
Message=Exception:
Message: An error occurred while trying to save the file.
The file might be locked, corrupt, or unavailable.
Detailed error:
MapToUnicode() can't be applied to CIDFont font.
Conditional expression: false
Filename : SDFDocImplSave.cpp
Function : trn::SDF::DocImpl::Save
Linenumber : 578

Source=PDFNet
StackTrace:
at pdftron.PDF.PDFDoc.Save(String path, SaveOptions flags)
InnerException:

--
Lee Gillie, CCP
Online Data Processing, Inc.


Support

ungelesen,
24.09.2013, 14:50:2824.09.13
an pdfne...@googlegroups.com
 
A CID font is never supposed to be used directly (it is always accessed via parent Type0 font). As a result, it seems that you are either dealing with a corrupt file or are somehow accessing a child/derived CID font instead of using the parent (i.e. Type0) font.
 
If you would like you can send your test file(s) to support at pdftron com and well take a look.

Support

ungelesen,
23.10.2013, 20:04:1023.10.13
an pdfne...@googlegroups.com
 
Update:  This was a confirmed issue in PDFNet  v6. The problem is now resolved and a patch is available.
The official 6.1 (with the patch) will be released in early November.
Allen antworten
Antwort an Autor
Weiterleiten
0 neue Nachrichten