php - How to define font in FPDF? -


i trying make writable .pdf document drupal-site. newbie @ drupal attaching code part of body. cannot load fonts. following error: **

fpdf error: not include font definition file

**

i have tried modifying folder privileges , defining path in following way:

define('php', 'module', 'resources/php/fpdf/font/courier.php'); module_load_include('php', 'module', 'resources/php/fpdf/fpdf'); 

could spare 5 minutes , tell me how it. mean lot me,

thanks

the definition of path fpdf font directory done this:

define('fpdf_fontpath', 'resources/php/fpdf/font/');   

the path must relative location of php code


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -