Chronoform7 TCPDF question marks ????? instead of correct text characters

gunjah 21 Jun, 2021
I tried everything with no luck. The form has Greek characters. The screen message and the email shows the Greek characters correctly. But if I use the TCPDF, the downloaded pdf file, shows question marks (??????) instead of the Greek characetrs.

Any ideas?

m
GreyHead 23 Jun, 2021
Hi gunjah,

I suspect that the fonts installed with the TCPDF component may not include the Greek character set. There is an old thread here which shows how to add fonts but it may need to be updated to work with the latest version of TCPDF.

Bob
gunjah 25 Jun, 2021
Thnx Bob

I'll give it a try.

By the way, is there a plan to have some kind of manual for chronoforms 7? I just bought a few licences and I want to find out all these nice things there is in there. Especially in Advanced settings of each component and the Behaviors/Data.
I am a big fan of chronoforms since V1 and I was in some talks with Max about a manual, and some thoughts about the V7 (when it was still in beta) but as i see there is no manual.
Even a CheatSheet of Advanced Settings and Behaviors/Data would be soooo useful.

Have a nice time and keep safe.

mik
GreyHead 26 Jun, 2021
Hi mik,

I'm sure that Max has some plans for a manual as soon as he can. At the moment it seems that he has some distractions that have nothing to do with ChronoForms.

I'm afraid that I don't know much about CFv7 so can't easily help here.

Bob
gunjah 30 Jun, 2021
Thank you for your answer Bob.

The TCPDF path in Chronoforms 7 is

administrator/components/com_chronoforms7/chronoforms/functions/tcpdf

and in there there are some files and folders, but inside the folder "tcpdf_doc_fonts" there are only two php files and no metric files anywhere.

And as far as I know, the existing fonts (Helvetica, courier etc) all support the greek characters, so I suppose maybe it is a matter of settings somewhere.
I believe I must set somewhere the utf8 use, but I don't know where.
gunjah 30 Jun, 2021
I found here:

administrator/components/com_chronoforms7/chronoforms/functions/tcpdf/tcpdf_output.php

this:
// create new PDF document
$pdf = new \TCPDF($config->get('pdf_page_orientation', 'P'), PDF_UNIT, $config->get('pdf_page_format', 'A4'), true, 'UTF-8', false);

and I suppose it is correct, so maybe it is something else, but I can't seem to figure it out.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger