PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Oct 17, 2017 2:47 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Sep 08, 2016 7:43 pm 
Offline

Joined: Tue Aug 02, 2016 9:56 am
Posts: 36
Location: Amsterdam, The Netherlands
PdfSharp parses unicode strings and handles them when it encounters them in a content stream, but does not handle them when they occur in a PDF object.

This can result in the error message:
- Unexpected token '<content of string>' in PDF stream. (sample PDF too large, available on request)

Fixed by treating Unicode (and hexadecimal and hexadecimal Unicode) strings in PDF objects the same as plain strings.

Patch attached.


Attachments:
pdfsharp-689.zip [566 Bytes]
Downloaded 100 times

_________________
Gerben Vos
Developer, ZyLAB Technologies B.V.
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group