View previous topic :: View next topic |
Author |
Message |
JohnT
Joined: 19 Jan 2007 Posts: 2
|
Posted: Fri Jan 19, 2007 10:19 am Post subject: The lexer is throwing an exception |
|
|
When I try to load a document using:
PdfDocument inputfile = PdfReader.Open( templateName, PdfDocumentOpenMode.Import );
I am getting an error from the Lexer.cs
I've tried to create the document using CuteWriter and PDFCreator with the same result.
Is this a common issue? |
|
Back to top |
|
|
JohnT
Joined: 19 Jan 2007 Posts: 2
|
Posted: Fri Jan 19, 2007 4:35 pm Post subject: |
|
|
To follow up on my original and admittedly vague earlier post, I've done some debugging of the code and my document.
The lexer is failing trying to parse the escape sequences in this line from my PDF doc.
/Title(\376\377\000U\000n\000t\000i\000t\000l\000e\000d)
I'm not familiar enough with the PDF structure to know what this is, but if someone could post a clue, I'd be glad to fix it and give back the code to the project. |
|
Back to top |
|
|
|