Re: RE: PHP 4.0 Bug #8469 Updated: function pdf_setlinewidth does not work at all.
| From: | Jani Taskinen | Date: | Sat, 20 Jan 2001 00:44:36 +0000 |
| Subject: | Re: RE: PHP 4.0 Bug #8469 Updated: function pdf_setlinewidth does not work at all. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-44612@lists.php.net to get a copy of this message | ||
On Fri, 19 Jan 2001, matthew zhang wrote:
>It does not work. I have been using pdf_stringwidth function. This one is
>working and we have almost finished our program
And you didn't explain HOW exactly it didn't work?
I tried the example code you sent and it worked just fine.
The line width was just a bit too thick so it looked like a mess.
Just reducing the width to reasonable measure fixed it.
>By the way, I just wonder if there is any pdf function to link other pages
>if the user clicks.
Yes, these (undocumented) functions:
pdf_add_weblink(int pdfdoc, double llx, double lly, double urx, double ury, string url)
pdf_add_pdflink(int pdfdoc, double llx, double lly, double urx, double ury,
string filename, int page, string dest)
They should work as said in the PDFlib's API documentation. (comes with
the pdflib-package). The extension misses the pdf_add_locallink() function
which is used to point to other place in the current document.
I will add this one soon.
--Jani
>Thanks.
>
>-----Original Message-----
>From: Bug Database [mailto:php-dev@lists.php.net]
>Sent: Wednesday, January 17, 2001 3:41 PM
>To: matt@yellowzone.com
>Subject: PHP 4.0 Bug #8469 Updated: function pdf_setlinewidth does not
>work at all.
>
>
>ID: 8469
>Updated by: sniper
>Reported By: matt@yellowzone.com
>Status: Feedback
>Bug Type: PDF related
>Assigned To:
>Comments:
>
>What is the status for this? Does it work now or not?
>
>--Jani
>
>Previous Comments:
>---------------------------------------------------------------------------
>
>[2001-01-03 13:15:26] sniper@php.net
>I tried your example script and it works just fine
>for me. Please try the latest snapshot from
>http://snaps.php.net/ and if it
>doesn't work either,
>please explain better how it doesn't work.
>
>--Jani
>
>
>---------------------------------------------------------------------------
>
>[2000-12-29 06:26:00] sniper@php.net
>What is the version of PDFlib you're using ?
>
>And add a short script that can be used to reproduce this
>into this bug report.
>
>--Jani
>
>
>---------------------------------------------------------------------------
>
>[2000-12-28 20:30:02] matt@yellowzone.com
>
>
>---------------------------------------------------------------------------
>
>
>Full Bug description available at: http://bugs.php.net/?id=8469
>
>
>
>