Menu

#1116 Unicode not converting into good symbol

v1.0_(example)
open
nobody
unicode (1)
1
2016-03-22
2016-03-22
jr212
No

When using uncicode the codes are not always converted into the write symbol
ex:

setPrintHeader(false); $pdf->setPrintFooter(false); // set default monospaced font $pdf->SetDefaultMonospacedFont(PDF_FONT_MONOSPACED); // set auto page breaks & bottum margin $pdf->SetAutoPageBreak(TRUE, 5); // set image scale factor $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO); // Add a page // This method has several options, check the source code documentation for more information. $pdf->AddPage(); $pdf->writeHTML('!', true, false, true, false,''); $pdf->writeHTML('(', true, false, true, false,''); $pdf->writeHTML('🕓', true, false, true, false,''); $pdf->writeHTML('♜', true, false, true, false,''); // Close and output PDF document // This method has several options, check the source code documentation for more information. $pdf->Output('test.pdf', 'D'); ?>

The first 2 writeHTML lines are fine but the other 2 do not convert. the simple print the text.
I want to use the clock (128339) and symbols for chess(9812-9823)
I have an example on the site: http://www.janr.be/test.php

Jan

Discussion


Log in to post a comment.

MongoDB Logo MongoDB