Witam
Chciałem do aby pdf miał różne rodzaje fontów:
<?php
$html = '
<body>
<div style="font-family: mono; font-size: 20pt; font-weight: bold;">WYKSZTAŁCENIE</div>
<div style="font-family: fantasy; font-size: 20pt; font-weight: bold;">WYKSZTAŁCENIE</div>
<div style="font-family: arial; font-size: 20pt; font-weight: bold;">WYKSZTAŁCENIE</div>
<div style="font-family: lucidasansunicode; font-size: 20pt; font-weight: bold;">WYKSZTAŁCENIE</div>
<div style="font-family: albasuper; font-size: 20pt; font-weight: bold;">WYKSZTAŁCENIE</div>
';
define('_MPDF_URI','class/mpdf60/'); define('_MPDF_PATH', 'class/mpdf60/');
include("class/mpdf60/mpdf.php");
$mpdf=new mPDF();
$mpdf->SetDisplayMode('fullpage');
$mpdf->debugfonts = true;
$mpdf->WriteHTML($html);
$mpdf->Output();
?>
W wygenerowanym pdf tylko font mono jest inny reszta jest taka sama, może ktoś mnie naprowadzić jak dołączyć fonty w mpdf60
Pozdrawiam