Skip Menu |
 

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

Report information
The Basics
Id: 65458
Status: resolved
Priority: 0/
Queue: PDF-API2

People
Owner: Nobody in particular
Requestors: frank [...] ammeter.ch
Cc:
AdminCc:

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



Download (untitled) / with headers
text/plain 443b
This is trivial, but very annoying for beginners. In the synopsis, the example goes: ... # Add some text to the page $text = $pdf->text(); ... But should be ... # Add some text to the page $text = $page->text(); ... So the synopsis code doesn't actually work. While this may be unimportant for most, this is not the case for beginners. It's just a bad first impression, so beginners might be fooled into thinking PDF::API2 is bad quality.
From: frank [...] ammeter.ch
Download (untitled) / with headers
text/plain 534b
Am Fr 04. Feb 2011, 14:43:54, gatinueta schrieb: Show quoted text
> This is trivial, but very annoying for beginners. > > In the synopsis, the example goes: > > ... > # Add some text to the page > $text = $pdf->text(); > ... > > But should be > > ... > # Add some text to the page > $text = $page->text(); > ... > > So the synopsis code doesn't actually work. > While this may be unimportant for most, this is not the case for > beginners. It's just a bad first impression, so beginners might be > fooled into thinking PDF::API2 is bad quality.
Download (untitled) / with headers
text/plain 427b
On Fri Feb 04 14:43:54 2011, gatinueta wrote: Show quoted text
> In the synopsis, the example goes: > > ... > # Add some text to the page > $text = $pdf->text(); > ... > > But should be > > ... > # Add some text to the page > $text = $page->text(); > ... > > So the synopsis code doesn't actually work.
Oops. Right you are. I've fixed this in the source, and will get a new release out before long. Thanks for reporting it! Steve Simms
From: frank [...] ammeter.ch
Download (untitled) / with headers
text/plain 797b
Am Fr 04. Feb 2011, 15:13:03, SSIMMS schrieb: Show quoted text
> On Fri Feb 04 14:43:54 2011, gatinueta wrote:
> > In the synopsis, the example goes: > > > > ... > > # Add some text to the page > > $text = $pdf->text(); > > ... > > > > But should be > > > > ... > > # Add some text to the page > > $text = $page->text(); > > ... > > > > So the synopsis code doesn't actually work.
> > Oops. Right you are. > > I've fixed this in the source, and will get a new release out before long. > > Thanks for reporting it! > > Steve Simms
Wow! That was fast! I actually never reported a bug to CPAN before - and I know how open source developers underestimate superficial issues like these sometimes - so now I'm really impressed to see that being handled so quickly. Thanks a lot & keep up the good work, Frank
2.017, just released, has this fix.


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.