Skip Menu |

This queue is for tickets about the CAM-PDF CPAN distribution.

Report information
The Basics
Id: 83018
Status: resolved
Priority: 0/
Queue: CAM-PDF

Owner: Nobody in particular
Requestors: zmughal [...]
Cc: zmughal [...]

Bug Information
Severity: Normal
Broken in: 1.58
Fixed in: (no value)

CC: zmughal [...]
Subject: Parsing of string containg backslash
Download (untitled) / with headers
text/plain 411b
Hello, I am attempting to test the text extraction features of CAM::PDF and I created a PDF with LaTeX which contains the string "(\134)". If I am reading the PDF specification correctly, this should be parse as a literal backslash, but the value returned in CAM::PDF's content tree is an empty string. I have attached a minimal test to demonstrate this with the parseAny() method. Regards, - Zakariyya Mughal
Subject: backslash.t
Download backslash.t
text/x-perl 186b
#!/usr/bin/env perl use Test::More tests => 2; use CAM::PDF; for my $str (q{(\\\\)}, q{(\134)}) { is( CAM::PDF->parseAny(\$str)->{value}, '\\' , "parsing: $str" ); } done_testing;
Subject: Re: [ #83018] AutoReply: Parsing of string containg backslash
Date: Mon, 28 Jan 2013 17:39:50 -0600
To: Bugs in CAM-PDF via RT <bug-CAM-PDF [...]>
From: Zakariyya Mughal <zaki.mughal [...]>
Download (untitled) / with headers
text/plain 132b
I have created a patch against v1.58 along with some corresponding tests that appear to fix the issue. Regards, - Zakariyya Mughal

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 101b
Thanks for the patch! I applied it (with one trivial correction) and uploaded CAM::PDF 1.59 to CPAN.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to