Skip Menu |
 

This queue is for tickets about the Catalyst-View-PDF-Reuse CPAN distribution.

Report information
The Basics
Id: 114003
Status: new
Priority: 0/
Queue: Catalyst-View-PDF-Reuse

People
Owner: Nobody in particular
Requestors: mdwestie [...] gmail.com
Cc:
AdminCc:

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



CC: <mdwestie [...] gmail.com>
MIME-Version: 1.0
X-Spam-Status: No, score=-2.698 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
X-Mailer: Microsoft Outlook 14.0
X-Spam-Flag: NO
X-Virus-Checked: Checked
Content-Language: en-us
Importance: Low
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01D19FB5.4E82FFC0"
Message-ID: <000001d19fd6$d58f6fa0$80ae4ee0$ [...] gmail.com>
X-Received: by 10.55.79.17 with SMTP id d17mr3306858qkb.56.1461687249140; Tue, 26 Apr 2016 09:14:09 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -2.698
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 45FEF24038B for <cpan-bug+Catalyst-View-PDF-Reuse [...] hipster.bestpractical.com>; Tue, 26 Apr 2016 12:14:24 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ACHQUplwqeci for <cpan-bug+Catalyst-View-PDF-Reuse [...] hipster.bestpractical.com>; Tue, 26 Apr 2016 12:14:22 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 1CEE324003A for <bug-Catalyst-View-PDF-Reuse [...] rt.cpan.org>; Tue, 26 Apr 2016 12:14:21 -0400 (EDT)
Received: (qmail 7867 invoked by alias); 26 Apr 2016 16:14:21 -0000
Received: from mail-qk0-f177.google.com (HELO mail-qk0-f177.google.com) (209.85.220.177) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 26 Apr 2016 09:14:13 -0700
Received: by mail-qk0-f177.google.com with SMTP id r184so7458220qkc.1 for <bug-Catalyst-View-PDF-Reuse [...] rt.cpan.org>; Tue, 26 Apr 2016 09:14:12 -0700 (PDT)
Received: from markVAIO (50-193-141-105-static.hfc.comcastbusiness.net. [50.193.141.105]) by smtp.gmail.com with ESMTPSA id l17sm1026643qke.1.2016.04.26.09.14.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Apr 2016 09:14:07 -0700 (PDT)
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Delivered-To: cpan-bug+Catalyst-View-PDF-Reuse [...] hipster.bestpractical.com
Subject: Featuer or Documentation Request
X-Msmail-Priority: Low
Return-Path: <mdwestie [...] gmail.com>
Thread-Index: AdGf1LUsAndFJCS5T32Pxro5gjZ2QA==
X-Priority: 5 (Lowest)
X-RT-Mail-Extension: catalyst-view-pdf-reuse
X-Original-To: cpan-bug+Catalyst-View-PDF-Reuse [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:importance :thread-index:content-language; bh=Fkrh92s5aopFy0rwdKLikhUYzs1tf5aGiL6b7wvs6Qo=; b=U6A+ssf2laapN3rKfj+2lWDwBsXqJ4jtEUB+WNB6VvgKKfPEyq5sRsR9gNVv3Us0UP 4rLqF8Rte2mj7M7WXN4Q/4TPrNGbs29IjZERNe77tFB15I9GvwYiyjKq6+luwNAMuxk8 jGk6+6pTR0+8XkkCTnUnGe7mHvnlt6c69wLlFMd3S6i1ZVeicE+1Ez8ifVaBLN+YDCxQ mfxp9lFiL1tZ2uQyZiygKC3G3orX/ao30TAnqdpN4WqjxmGTn4lIDL6IzucrDMPsWgzz DNN962dtQUolCkmM3/n68buKCU8LqpZa0/t0niKqFXTneIYf5pj6NFluTnBKr0KmhRgb e3OA==
X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :importance:thread-index:content-language; bh=Fkrh92s5aopFy0rwdKLikhUYzs1tf5aGiL6b7wvs6Qo=; b=ICMl3leg3X5OlFq7pdu4mwhOuFXWi8+FKERcewwS1VSDMJBg+bmUl7r54183WbesXt nxQ29EB7w0Nu7DUMYID9MzkXmMO/G+Xr2W/vMHJXy1f6PR2PgjfX3uduPAJCRzmMF+86 /jS+jfIezMV4noBfzfo+7TIiIsxm5YCNNnacOhPAu3ax+Bkar9VfSlnqC+O7ASn1zmGn UbG1kgkKHYkrl5ZhQPXi/YB6btZgfoiP4vwyoECDWoglm545YxiASob9XtZ+AoBZqSgZ bWXKjlPO97T3apLlZ9VhQL5cLpvcMHsigkrDsZB0TDMM4uF5NlvXqDb2DgFx1ZL8nhP5 OaVg==
Date: Tue, 26 Apr 2016 12:15:21 -0400
X-Spam-Level:
To: <bug-Catalyst-View-PDF-Reuse [...] rt.cpan.org>
From: "Mark West" <mdwestie [...] gmail.com>
X-GM-Message-State: AOPr4FXKZ7136M8mZgQyiyOx42RcB1AQ1SO9ADqhnxjwOmb5Ji9aX/HQc06VPi9h7NGHxA==
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: ascii
Content-Length: 1356
Download (untitled) / with headers
text/plain 1.3k
Good morning: I've been using your module for creating PDF documents with Catalyst, PDF::Reuse and Template Toolkit. I'm having trouble importing jpg images and wonder if it is implemented or if there are any examples. This is the code I've developed so far in TT. The page draws but no image is displayed. [%- pdf.prFont('HB') -%] [%- pdf.prFontSize(10) -%] [%- box_height = '14' -%] [%- pdf.prFont('Calibri') -%] [%- pdf.prFontSize(25) -%] [% USE Image('bp01.jpg') %] [% width = Image.width %] [% height= Image.height %] [%- pdf.prMbox('0','0','720','960') -%] [%- logoFile01 = pdf.prJpeg("bp01.jpg", $width, $height) -%] [%- string = 'q ' _ width _ ' 0 0 ' _ height _ ' 0 960 cm ' _ logoFile01 _ 'Do Q' -%] [% pdf.prAdd(string) %] [%- INCLUDE 'components/box.tt' string=width align=right x=295 y=635 w=260 h=20 -%] [%- INCLUDE 'components/box.tt' string=logoFile01 align=right x=295 y=605 w=260 h=20 -%] [%- INCLUDE 'components/box.tt' string=string align=right x=235 y=575 w=260 h=20 -%] The only difference I see in the pure perl documentation and examples is that they seem to escape the variable logoFile01. So it looks like: my $str = "q\n"; $str .= "$width 0 0 $height 10 10 cm\n"; $str .= "/$intName Do\n"; $str .= "Q\n"; Any thoughts or help would be appreciated. Thanks for providing this module. Mark West
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 8199


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.