RE: PHP 4.0 Bug #8469 Updated: function pdf_setlinewidth does not work at all.

From: Date: Fri, 29 Dec 2000 16:40:01 +0000
Subject: 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-42655@lists.php.net to get a copy of this message
Hi Jani: PDFlib version: 3.03: Short script: <html> <form method="post" action="test1.php"> <textarea name="input" cols="50" rows="10"></textarea><br> <input type=submit value="create"> <? if ( $input ) { $default_font = "Times-Roman"; $fp = fopen("test_w.pdf", "w"); $pdf = pdf_open($fp); pdf_set_info($pdf, "Author", "Matthew"); pdf_set_info($pdf, "Title", "Improving"); pdf_set_info($pdf, "Creator", "YellowZone Software Team"); pdf_set_info($pdf, "Subject", "Updating and improving"); pdf_begin_page($pdf, 595, 842); pdf_add_outline($pdf, "Page 1"); pdf_set_font($pdf, "Times-Italic", 30, "host"); pdf_set_value($pdf, "textrendering", 1); pdf_setlinewidth ($pdf, 500.00); // this function is not work promptly. please test and let me know, thanks $nextline_text=explode("\n", $input); $num = count($nextline_text); pdf_show_xy($pdf, "$nextline_text[0]", 50, 750); for($i = 1; $i<$num; $i++) { pdf_set_font($pdf, "Courier-Oblique", 20, "host"); pdf_set_leading ($pdf, 18); pdf_continue_text($pdf, $nextline_text[$i]); } pdf_stroke($pdf); pdf_end_page($pdf); pdf_close($pdf); fclose($fp); ?> <a href=test_w.pdf>Display</a> <? } ?> Matt -----Original Message----- From: Bug Database [mailto:php-dev@lists.php.net] Sent: Friday, December 29, 2000 3:26 AM 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 Old-Status: Open Status: Feedback Old-Bug Type: Performance problem Bug Type: PDF related Assigned To: Comments: 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 Previous Comments: --------------------------------------------------------------------------- [2000-12-28 20:30:02] matt@yellowzone.com --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8469

« previous php.dev (#42655) next »