PHP Questions Home
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

How do I add a new font to my PDF with FPDF?


If you want to add a new font, then the process varies slightly depending on what format you currently have the font as (e.g. as a TTF file) and also what type of font it is.

Basically you need to use one of the couple of formats that FPDF can work with. You then use a script to create the font definition file; the final step is adding it to the PDF which you can do through using the AddFont() function, see the page on embedding a font here for help with that.

For full information on adding new fonts and the process to go through read the tutorial page here:

http://www.fpdf.org/en/tutorial/tuto7.htm

ASK A QUESTION

More FPDF PHP Questions

How do I embed a font in FPDF?

How do I add a line break to my PDF in FPDF?

How do I set and change the font in FPDF?

How can I find out more about FPDF?

What is FPDF?



Custom Search