We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I know how to print utf-8 text with custom fonts. But how about Arial and Courier?
Here is code to show case the issue:
$pdf = new PDF(); $pdf->AddPage(); // Arial $pdf->SetFont('Arial','',14); $pdf->Text(10, 10, 'Beløp'); // Courier $pdf->SetFont('Courier','',14); $pdf->Text(10, 20, 'Beløp'); // Custom font $pdf->AddFont('GreatVibes','','GreatVibes.ttf',true); $pdf->SetFont('GreatVibes','',14); $pdf->Text(10, 30, 'Beløp'); $pdf->Output();
And this is the result:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I know how to print utf-8 text with custom fonts. But how about Arial and Courier?
Here is code to show case the issue:
And this is the result:
The text was updated successfully, but these errors were encountered: