Thread: ImageTTFText??
View Single Post
  #4  
Old 03-02-2008, 07:28 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: ImageTTFText??

To do this, there would need to be a certain amount of custom code done in the PHP file that is generating the invoices. You would need to use the variable that holds the customer message and pass it to this function along with the full server path to the font. Then the resulting file would need to be written to the server somewhere and the path and filename of that file would need to be added to the customer information array and then passed to Smarty. Then, you could use that information (the written image location) to display the image in an IMG tag.

however since you are ONLY using this on a packing slip - just install the font on your system and then change the CSS for that on the packing slip to use that font. Since the font is on your PC, then when you show the invoice to print, it will use your installed font.
Reply With Quote