pl_fpdf icon indicating copy to clipboard operation
pl_fpdf copied to clipboard

font embedding

Open vadim03 opened this issue 7 years ago • 0 comments

Hi Pierre-Gilles,

I would like to embed Calibri font but do not know how to do it. I will appreciate if you give me an example.

I was experimenting myself and did the following:

1, Created font metrics for calibri.ttf using www.fpdf.org/makefont 2. Converted calibri.php inot getFontCalibri and modified couple of other things such as p_includefonts

The problem is when use Calibri now getting Adobe errorr "Font calibri contains a bad /BBox" Can't figure out what I am missing here. It's not actual embedding though. The embedding would be ideal.

Thank you in advance

Regards,

Vadim

vadim03 avatar Feb 28 '18 12:02 vadim03