diff options
author | Sashi20 | 2018-07-27 10:43:45 +0530 |
---|---|---|
committer | Sashi20 | 2018-07-27 10:43:45 +0530 |
commit | 0b6538009863c2ddefe69e9c0fae479f0c90f1d5 (patch) | |
tree | 150a4b827b1b4ba3d0d81ea0509efa1664b01fdf /pdf | |
parent | f7bea203f747b64c548518f9c1a601c5cf39961f (diff) | |
download | r_textbook_companion-0b6538009863c2ddefe69e9c0fae479f0c90f1d5.tar.gz r_textbook_companion-0b6538009863c2ddefe69e9c0fae479f0c90f1d5.tar.bz2 r_textbook_companion-0b6538009863c2ddefe69e9c0fae479f0c90f1d5.zip |
Changed font from Arial to Times in the pdf
Diffstat (limited to 'pdf')
-rwxr-xr-x | pdf/generate_pdf.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/generate_pdf.inc b/pdf/generate_pdf.inc index 0ca23c9..524e0e9 100755 --- a/pdf/generate_pdf.inc +++ b/pdf/generate_pdf.inc @@ -78,7 +78,7 @@ function generate_pdf() $pdf->Cell(320, 10, 'This is to certify that', '0', '1', 'C'); $pdf->Ln(0); $pdf->SetFont('Times', 'I', 20); - //$pdf->SetFont('Arial', 'BI', 25); + //$pdf->SetFont('Times', 'BI', 25); $pdf->SetTextColor(30, 100, 182); $pdf->Cell(320, 12, $data3->full_name, '0', '1', 'C'); $pdf->Ln(0); @@ -147,7 +147,7 @@ function generate_pdf() //$name = $data3->full_name; //$certificate_name = str_replace(' ', '_', $name); //$pdf->Output($certificate_name . '_R_TBC_Certificate.pdf', 'D'); - $pdf->SetFont('Arial', 'I', 8); + $pdf->SetFont('Times', 'I', 8); $pdf->SetTextColor(0, 0, 0); $filename = str_replace(' ', '-', $data3->full_name) . '-R_TBC_Certificate.pdf'; $file = $path . '/pdf/temp_certificate/' . $proposal_id . '_' . $filename; |