ysovol
Joined: 22 Dec 2006 Posts: 1
|
Posted: Fri Dec 22, 2006 2:00 pm Post subject: PdfToUnicodeMap->PrepareForSave->Hashtable duplicate k |
|
|
In the
PdfToUnicodeMap.cs file
Inside -> PrepareForSave()
when populating the Hashtable in some cases we received errors on duplicate keys being added.
We added a check before adding the key
Code: | if (!glyphIndexToCharacter.ContainsKey(index))
glyphIndexToCharacter.Add(index, entry.Key); |
Hope this helps somebody out there.
Yannis |
|