note 19137 added to function.pdf-show-boxed

From: Date: Sun, 17 Feb 2002 22:07:26 +0000
Subject: note 19137 added to function.pdf-show-boxed
Groups: php.notes 
Request: Send a blank email to php-notes+get-26716@lists.php.net to get a copy of this message
It might be because my font files are corrupted, and I'm using setfont... 'host', 0 but it seems like sometimes pdf_draw_boxed can't draw *ANY* characters of perfectly normal text. The words at the beginning of the text are certainly capable of fitting. It works fine for some strings, and not for others. Hard to say if it's really a bug or not, and yes, I'll file a bug report, but in the meantime, one has to be careful of not creating an infinite loop trying to draw the same impossible text over and over. If the number of characters not drawn (return value of pdf_show_boxed) is equal to the length of the string you tried to draw, GAME OVER. -- http://www.php.net/manual/en/function.pdf-show-boxed.php http://master.php.net/manage/user-notes.php?action=edit+19137 http://master.php.net/manage/user-notes.php?action=delete+19137 http://master.php.net/manage/user-notes.php?action=reject+19137

« previous php.notes (#26716) next »