Hello
First of all thanks for the great job on the new certificate plugin it looks really good and works great so far besides this small problem we have with the Greek Language.
We have the latest versions on theme and Plugin. We have uploaded a Greek TTF ( True Type Font ) to the server and we wrote some text.
As you can see here : https://www.useloom.com/share/a06d9f4e2aff4ba38bf2d05c1cdcb38b
the Greek text appears as ???? ?? ?? characters.
If there a way to fix this? Is this due to UTF encoding?
Thanks in advance.
Kind Regards
Stratos A.
Also note that this problem appears with the build in fonts as well ( Arial etc ).
MkModerator
Is this due to UTF encoding?
Yes, it is.
please try by adding font family.
Thanks for the reply.
Can you please give more Details?
Thanks
MkModerator
As per the solution provided here :
https://stackoverflow.com/questions/48825790/tcpdf-not-showing-greek-charactes-with-helvetica
these are possible solutions:
- Add a font family (which is free and supported by google, look here ) through font manager.
- And include this font family in certificate by css.
use code like this :
font-family: 'Open Sans';
Superb I will give it a try and see how it goes.
Thanks
MkModerator
Sure, please give it a try and also reply what ever you got.
Hello
We have tried everything but still no luck
Here is a video of the procedure and results:
https://www.loom.com/share/b107ce60da834a89b59aaf06edf06d14?focus_title=1&muted=1
Any other advice you can provide?
Thanks
Kind Regards
Stratos
MkModerator
Ok ,
We need to check it at our end, We are using TCPdf. we have to look for proper method to solve it as a permanent solution. please give us some time to check.
Ok No worries.
Thanks for the update.
Let me know when you have any news.
Kind Regards
Stratos A.
MkModerator
yes we have found a fix for this .
please refer :
https://wplms.io/support/knowledge-base/wplms-pdf-certificate-tcpdf-utf-8-bad-encoding-with-special-characters-displays-on-pdf-file/
you have download the font file upload it and add it to certificate font files .
Then select this font for the greek text you have in your certificate . .
Thanks It worked very well in terms of text rendering.
You can close the ticket.
Kind Regards
Stratos A.