forked from opendcim/openDCIM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
loadfonts.php
29 lines (25 loc) · 1.03 KB
/
loadfonts.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/* Loading custom user fonts for the FPDF library
Place corresponding php-files of fonts in the font directory */
// For example, set of cyrillic (cp1251) TrueType fonts
/* ArialMT
$pdf->AddFont('ArialMT','','arial.php');
$pdf->AddFont('ArialMT','B','arialbd.php');
$pdf->AddFont('ArialMT','I','ariali.php');
$pdf->AddFont('ArialMT','BI','arialbi.php'); */
/* CourierNew
$pdf->AddFont('CourierNew','','cour.php');
$pdf->AddFont('CourierNew','B','courbd.php');
$pdf->AddFont('CourierNew','I','couri.php');
$pdf->AddFont('CourierNew','BI','courbi.php'); */
/* DejaVuSans
$pdf->AddFont('DejaVuSans','','DejaVuSans.php');
$pdf->AddFont('DejaVuSans','B','DejaVuSans-Bold.php');
$pdf->AddFont('DejaVuSans','I','DejaVuSans-BoldOblique.php');
$pdf->AddFont('DejaVuSans','BI','DejaVuSans-BoldOblique.php'); */
/* SegoeCondensed
$pdf->AddFont('SegoeCondensed','','segoe.php');
$pdf->AddFont('SegoeCondensed','B','segoeb.php');
$pdf->AddFont('SegoeCondensed','I','segoe.php');
$pdf->AddFont('SegoeCondensed','BI','segoeb.php'); */
?>