note 101935 added to function.pdf-fit-textline

From: Date: Wed, 19 Jan 2011 08:38:43 +0000
Subject: note 101935 added to function.pdf-fit-textline
Groups: php.notes 
Request: Send a blank email to php-notes+get-175884@lists.php.net to get a copy of this message
The function PDF_fit_textline has an "optlist" argument which you use to pass options. In other words, PDF_fit_textline contains many functions instead of one. A classical code smell. The fact that the optlist argument is a string uglyfies this function by a factor of thousand. Conclusion: when you make functions like PDF_show_boxed deprecated, replace it with a better function instead of doing the opposite. ---- Server IP: 69.147.83.197 Probable Submitter: 62.168.150.34 ---- Manual Page -- http://www.php.net/manual/en/function.pdf-fit-textline.php Edit -- https://master.php.net/note/edit/101935 Del: integrated -- https://master.php.net/note/delete/101935/integrated Del: useless -- https://master.php.net/note/delete/101935/useless Del: bad code -- https://master.php.net/note/delete/101935/bad+code Del: spam -- https://master.php.net/note/delete/101935/spam Del: non-english -- https://master.php.net/note/delete/101935/non-english Del: in docs -- https://master.php.net/note/delete/101935/in+docs Del: other reasons-- https://master.php.net/note/delete/101935 Reject -- https://master.php.net/note/reject/101935 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175884) next »