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:[EMAIL PROTECTED]]
>Sent: Wednesday, January 17, 2001 3:41 PM
>To: [EMAIL PROTECTED]
>Subject: PHP 4.0 Bug #8469 Updated: function pdf_setlinewidth does not
>work at all.
>
>
>ID: 8469
>Updated by: sniper
>Reported By: [EMAIL PROTECTED]
>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] [EMAIL PROTECTED]
>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] [EMAIL PROTECTED]
>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] [EMAIL PROTECTED]
>
>
>---------------------------------------------------------------------------
>
>
>Full Bug description available at: http://bugs.php.net/?id=8469
>
>
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to