Topic on Extension talk:CIForms

Problem with formatting Czech characters inside PDF

1
Jachym16 (talkcontribs)

Hi,  I have a problem with exporting the forms data into PDF. Not all Czech characters inside the PDF are formatted correctly. I found out that it is the text font that is causing this issue. I found a font that fixes the problem. The solution is to add the line of code from below into createPDF function, inside the $form_output_html variable, inside <style>. After that, all Czech characters are formatted correctly.

$form_output_html .= '* { font-family: DejaVu Sans, sans-serif; }';

Reply to "Problem with formatting Czech characters inside PDF"