note 19155 added to function.imagepstext

From: Date: Mon, 18 Feb 2002 11:16:42 +0000
Subject: note 19155 added to function.imagepstext
Groups: php.notes 
Request: Send a blank email to php-notes+get-26735@lists.php.net to get a copy of this message
a note on kernnig: t1lib tries to load a corresponding afm file in the directory of the font file. it does this by replacing the extension (.PFB .pfb) with ".afm". note that this has to be a lowercase afm! usually windows-ps-fonts have file names in all-uppercase, so try renaming the *.AFM file to *.afm. i also noticed that sometimes this gives an error -2. it seems like t1lib chokes on windows-linebreaks in the afm file. try 'recode dos..lat1 fontfile.afm' and check again. if it all works, combinations like "Ta" or "Te" should show the second letter slightly moved to the capital T (on normal fonts like Times anyway). -- http://www.php.net/manual/en/function.imagepstext.php http://master.php.net/manage/user-notes.php?action=edit+19155 http://master.php.net/manage/user-notes.php?action=delete+19155 http://master.php.net/manage/user-notes.php?action=reject+19155

« previous php.notes (#26735) next »