Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New fonts for Batchprint Center


phpConsult

Recommended Posts

Posted

Hello,

 

Does anyone know how to add new (postscript-) fonts to the Batchprint Center utility. By default it works with Helvetica. Fonts are in .afm format (ie Helvetica.afm). But where do I store the new fonts (in my case EuroStile.. .afm and Kuenstler.. .afm)?

 

Thanks in advance for a reply.

Posted

1.upload your afm files to /temp_pdf

2.modify files under /templates, in each template files you will find code like these below:

$pdf->selectFont(BATCH_PDF_DIR . 'Helvetica.afm');
$pdf->setFontFamily(BATCH_PDF_DIR . 'Helvetica.afm');

Change the name of afm file to those you have uploaded

Everyone is changing the world.

Everyone is a world.

For everyone needs my help, PM or email if I amn't online.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...