|
PDFsharp - moved to http://forum.pdfsharp.net/ Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
|
Important Notice:
We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024.
If you wish to migrate to our paid hosting service, please contact billing@hostonnet.com.
View previous topic :: View next topic |
Author |
Message |
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 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|