PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

The lexer is throwing an exception
https://forum.pdfsharp.net/viewtopic.php?f=2&t=56
Page 1 of 1

Author:  JohnT [ 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?

Author:  JohnT [ 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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/