tags:

views:

16

answers:

1

Hi everyone, I'm trying to embed Helvetica Neue into my PDF, but all of the resources I find online are overly complicated and filled with what I think is unneeded information.

Can anyone point me to a step by step tutorial of how to include fonts in FPDF?

Thanks in advance.

A: 

Unfortunately this is way more difficult than it should be, albeit I got it working. The link below is a great reference, but I couldn't get fondu to install so I had to use TrueType on Windows, TransType Pro.

http://www.eiriks.net/2007/09/13/custom-font-with-fpdf-on-os-x-ttf2pt1-fondu/

I did just find this HTML to PDF generator and may look into that, it seems pretty easy to customize compared to FPDF. http://www.digitaljunkies.ca/dompdf/

Carson