Skip Menu |

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

Report information
The Basics
Id: 14038
Status: new
Priority: 0/
Queue: PDF-CreateSimple1

People
Owner: Nobody in particular
Requestors: cdr [...] xteam.co.at
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: drawText not working with PDF::API2 gfx object
This is PDF::API2, Version 0.40.101 (2005-03-23 17:42:29) CreateSimple.pm:our $VERSION = '1.0.0.0'; Linux s1 2.4.27 #10 SMP Wed Sep 1 06:50:40 CEST 2004 i686 unknown (Debian testing) This is perl, v5.8.6 built for i686-linux
sub drawText{ my ($self,$text,$font,$fontSize,$x,$y,$color,$align,$pageNo) = @_; $pageNo = $self->_getCurPage unless $pageNo; $align = 0 unless $align; my $fontObj = $self->_getFont($font); my $page = $self->_getPage($pageNo); # Does not work!!! # my $gfx = $page->gfx; # C. Drauch, 2005-08-07 my $gfx = $page->text; $self->_applyTransformation($gfx,$x,$y); $gfx->fillcolor($color); $gfx->font($fontObj,$fontSize);
[guest - Sun Aug 7 00:37:45 2005]: Show quoted text
> This is PDF::API2, Version 0.40.101 (2005-03-23 17:42:29) > > CreateSimple.pm:our $VERSION = '1.0.0.0'; > > Linux s1 2.4.27 #10 SMP Wed Sep 1 06:50:40 CEST 2004 i686 unknown > (Debian testing) > > This is perl, v5.8.6 built for i686-linux
This problem should be resolved in the latest version, which no longer use the 'text' function (seemed like it was causing problem at some other point in the functionning so I replaced it in drawText) However, it's still there in drwaPieChart because of lack of time. I will try to resolve it soon.