[cl-pdf-devel] Is cl-pdf-parser considered to be in usable state?
Denis Mashkevich
nedenis at gmail.com
Thu Feb 15 14:20:57 UTC 2007
Hi all,
Is cl-pdf-parser considered to be in usable state?
It gives me various errors on any pdf file I try to parse with it, including
those generated by cl-pdf.
Example 1 (docs.pdf from Peter Seibel's markup library, generated with
cl-pdf):
MARKUP> (parse-file "/Users/max/src/lib/gigamonkeys/markup-0.3/docs.pdf")
No tag specified for one space of indentation
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [ABORT-BREAK] Reset this process
2: [ABORT] Kill this process
Backtrace:
0: (INDENTED-PARAGRAPH-TAG '(INDENTATION 1))
1: (READ-PARAGRAPH '(:P "/Font << /CLF142 10 0 R" #\Newline "/CLF141 9 0
R" #\Newline
"/CLF140 8 0 R" #\Newline "/CLF139 7 0 R" #\Newline " >>"))
2: (READ-DOCUMENT '(PARSE-FILE "/Users/max/src/lib/gigamonkeys/markup-0.3
/docs.pdf"))
3: (PARSE-FILE "/Users/max/src/lib/gigamonkeys/markup-0.3/docs.pdf")
4: (CCL::CALL-CHECK-REGS 'PARSE-FILE)
--more--
Example 2:
MARKUP> (parse-file "/Users/max/Desktop/PDF
1.7Reference/pdf_reference_errata.pdf")
Unexpected EOF at 1087:0 on stream when eof-character is { started at (526
100)
[Condition of type SIMPLE-ERROR]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [ABORT-BREAK] Reset this process
2: [ABORT] Kill this process
Backtrace:
0: (PEEK-CHARACTER #<INPUT #x8A50E66>)
1: (READ-CHARACTER #<INPUT #x8A50E66>)
2: (READ-NAME #<INPUT #x8A50E66>)
3: (READ-TAG #<INPUT #x8A50E66>)
4: (READ-TAG #<INPUT #x8A50E66>)
5: (READ-TAG #<INPUT #x8A50E66>)
6: (READ-TAG #<INPUT #x8A50E66>)
7: (READ-TAG
"Úû'Cot
6\"w;(r)-ñf¶È=
ñXÆÇm8sÎ$;|ôBØ¿åTV6%3"´öÝrÙÀ÷íOOOËÉÎÜ%%Õ§·Ñ<ÔÑ#ªw"`
ò@AÊ\"A¯øûn¾¡²¹²Ùü¢æQÛ>ÕðÓÏAÐ÷|pÅyè9E
jFÁæÚ(c)ÖÃbuåäüÔÔ<÷Lãêí)å¹UU°Tä#ÂKËwí¶å¤
Q¹Ý}Ò_*»Î^Þrr9Ã,¯*yËÌ")
8: (READ-PARAGRAPH 'NIL)
9: (READ-DOCUMENT '(PARSE-FILE "/Users/max/Desktop/PDF
1.7Reference/pdf_reference_errata.pdf"))
10: (PARSE-FILE "/Users/max/Desktop/PDF 1.7Reference/pdf_reference_errata.pdf")
11: (CCL::CALL-CHECK-REGS 'PARSE-FILE)
--more--
Thanks, Denis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cl-pdf-devel/attachments/20070215/6286af3b/attachment.html>
More information about the cl-pdf-devel
mailing list