One of the CMaps used in this document: 
http://www.sec.gov/about/forms/formid.pdf  is causing the cmap parser to
choke.

Here is the CMap:

/CIDInit /ProcSet findresource begin
12 dict begin
begincmap
/CIDSystemInfo <<
/Registry (NBWVJK+TimesNewRomanPS+0) def
/Ordering (T1UV) def
/Supplement 0 def
>> def
/CMapName /NBWVJK+TimesNewRomanPS+0 def
  1 begincodespacerange
<1e> <94>
endcodespacerange
 22 beginbfrange
<1e> <1e> <000a>
<1f> <1f> <00660069>
<20> <7e> <0020>
<7f> <7f> <2022>
<80> <80> <20ac>
<81> <81> <2022>
<82> <82> <201a>
<83> <83> <0192>
<84> <84> <201e>
<85> <85> <2026>
<86> <87> <2020>
<88> <88> <02c6>
<89> <89> <2030>
<8a> <8a> <0160>
<8b> <8b> <2039>
<8c> <8c> <0152>
<8d> <8d> <2022>
<8e> <8e> <017d>
<8f> <8f> <2022>
<90> <90> <2022>
<91> <92> <2018>
<93> <94> <201c>
endbfrange
endcmap
CMapName currentdict /CMap defineresource pop
end end

I have put together a unit test showing the problem - please see
/itext/src/test/java/com/itextpdf/text/pdf/fonts/cmaps/CMapParserExTest.java

Any ideas on what's going on here?

--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/ToUnicode-CMap-parsing-issue-tp4404785p4404785.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to