Jump to content

Topic on Extension talk:CIForms

Problem with formatting Czech characters inside PDF

2
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; }';

Thomas-topway-it (talkcontribs)

@Jachym16 added in the latest version (1.3.2) thank you !

Reply to "Problem with formatting Czech characters inside PDF"