Skip to content
This repository has been archived by the owner on Dec 15, 2019. It is now read-only.

Add Calibri Error #8

Closed
JURALOVE opened this issue Jul 28, 2017 · 0 comments
Closed

Add Calibri Error #8

JURALOVE opened this issue Jul 28, 2017 · 0 comments

Comments

@JURALOVE
Copy link

Hello Friends

I have a problem with Calibri Font. I added to my FPDF, in font's folder (files php and .z), but when I try to call from my PHP file ... the font isn't found.

I pasted the error:

Stack trace:
#0 /home/tempevinex/public_html/aaa/fpdf/fpdf.php(1142): FPDF->Error('Incorrect font ...')
#1 /home/tempevinex/public_html/aaa/fpdf/fpdf.php(459): FPDF->_loadfont('../../../../fpd...')
#2 /home/tempevinex/public_html/aaa/main/accounts/seerecord/letters/pdf.php(68): FPDF>AddFont('Calibri', '', '../../../../fpd...')

I called to Font in these sentences:

$this->AddFont('Calibri','','../../../../fpdf/font/calibri.php');
$this->SetFont('Calibri','B',20);

Perhaps someone knows my problem and help me.

Thank you for your time and suggestions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants