note 33917 added to function.pdf-findfont

From: Date: Fri, 11 Jul 2003 00:38:53 +0000
Subject: note 33917 added to function.pdf-findfont
Groups: php.notes 
Request: Send a blank email to php-notes+get-51874@lists.php.net to get a copy of this message
try this nice *nix shell code to generate the FontAFM section of your UPR files: for i in *.afm do sep=echo -e "\r" file=cat $i | grep FontName | cut -b 10- file=${file//$sep/} echo "$file=$i" done it gererates something like this: Courier-Oblique=Courier-Oblique.afm Courier=Courier.afm Helvetica-Bold=Helvetica-Bold.afm etc. probably usefull if you add fonts now and then... dont be shy to mail me if you find this usefull! ---- Manual Page -- http://www.php.net/manual/en/function.pdf-findfont.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33917 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33917&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33917&report=yes

« previous php.notes (#51874) next »