TCPDF - ÆØÅ from language file doesnt work

Go To StackoverFlow.com

0

I have a tcpdf template that I want to show norwegian letters like ÆØÅ The font I am using is freesans.

The template gets dynamic information from the database and show ÆØÅ correcly but from the php language file it only show ? where theese letters should show.

Both template, connection to db and language file is coded with utf-8.

Any suggestion what could be wrong since the font I use does support this.

2012-04-05 20:25
by Pål Andreas Tomter
I can suggest looking at mpdf: http://www.mpdf1.com/mpdf/index.php - In all my cases, it delivered better results than tcpdf, and it surely can handle a bigger amount of css rules :- - Victor Nițu 2012-04-06 00:24


0

Check out this blogpost that explains how to use custom fonts and characters in TCPDF. It points to this font convert website that will help you to convert your fonts in a correct way so they will display special characters correctly.

2012-08-02 12:47
by Mac_Cain13
Ads