From 713ee98a1e7a75fd487a5e2ee39efd52bf8d1b1a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 20 Mar 2003 18:35:35 +0000 Subject: [PATCH] new font --- pdf_schema.php3 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pdf_schema.php3 b/pdf_schema.php3 index 5bc5e735f..7c0eac233 100644 --- a/pdf_schema.php3 +++ b/pdf_schema.php3 @@ -1118,6 +1118,13 @@ class PMA_RT $pdf->SetAuthor('phpMyAdmin ' . PMA_VERSION); $pdf->AliasNbPages(); + // fonts added to phpMyAdmin and considered non-standard by fpdf + // (Note: those tahoma fonts are iso-8859-2 based) + if ($this->ff == 'tahoma') { + $pdf->AddFont('tahoma','','tahoma.php3'); + $pdf->AddFont('tahoma','B','tahomab.php3'); + } + $pdf->SetFont($this->ff, '', 14); $pdf->SetAutoPageBreak('auto');