Pilooz / pl_fpdf

PL-SQL library to generate pdf files from Oracle database.
43 stars 33 forks source link

font embedding #9

Open vadim03 opened 6 years ago

vadim03 commented 6 years ago

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

  1. 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