Jump to content

changing invioce pdf font


vahid abdi

Recommended Posts

hi

i need to change font of id reference in invoice pdf

actually i want to change font of this part in invoice.tpl

 

<td style="text-align: center; width: 10%; font-weight: normal; border: 1px solid #000;">{$order_detail.reference}</td>

 

i need to define something like this in the invoice.tpl

 

@font-face {
  font-family: 'fontname';
  src: url('fontname.eot?#') format('eot'),  /* IE6–8 */
       url('fontname.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
       url('fontname.ttf') format('truetype');  /* Saf3—5, Chrome4+, FF3.5, Opera 10+ */
}

 

and use it in the reference part

 

how can i do it?

 

thanks forehand

Link to comment
Share on other sites

so you mean there isn't anyway i can do it?

 

actually i need to change this rows in barcode form..

<td style="text-align: center; width: 10%; font-weight: normal; border: 1px solid #000;">{$order_detail.reference}</td>

 

so i thought maybe i can do it with a barcode font.. is they another way to turn references into barcode?

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...