Topic: Unicocode problem with PDF reporting

I'm using lithuanian unicode ISO-8859-13 and only on all PDF reports don't shows ours letters correctly. It looks like this:  ë þ ø ð.
In Set up parameter all locales is OK.
all report's in Excel shows perfect, all program translations in lithuanian what I translate till now, caracters shows ok, but  only PDF reports don't show sad
I'm using FA 2.3.7 version.

Please, anybody help me to solve this problem?

Re: Unicocode problem with PDF reporting

I guess you will have to create a font for ISO-8859-13 yourself. Please have a look into the TCPDF project. Make a Google search. Look into their Forum if they have fabricated an iso-8859-13 font.
You may also look into our download pages on the Website. I am not sure if we have such a font. There are also instructions about how to create own fonts.
This is the first time we are using the ISO-8859-13 charset, so we are just as lost as you are about this.
Hopefully you find a solution. If you have problems creating such a font, please contact me again. I may be able to help you.

/Joe

Re: Unicocode problem with PDF reporting

Thank's Joe for your quick answer.
I read font creation instruction, but I'm afraid this is too difficult for me to do it sad

please help me.

Re: Unicocode problem with PDF reporting

I cannot find a solution for iso-8859-13. Please try to use the dejavu (unicode) font by doing this:

At line 178 in /reporting/includes/class.pdf.inc, please insert:

            elseif ($this->encoding === "ISO-8859-13")
            {
                switch ($this->l['a_meta_language'])
                {
                    default :        $fontname = "dejavu";     break;
                }
            }

and see if it helps.

/Joe

Re: Unicocode problem with PDF reporting

I insert this line and nothing.
I ask one person who know php and today he will solved this problem.

Re: Unicocode problem with PDF reporting

Suddenly I found a cp1257.map file (similar to the iso-8859-13.map file) and made a font for the Baltic. It is called freesans13.
It can be downloaded from the Download page, Release 2.3 section.
Please follow the instructions in the download and change the above line from "dejavu" to "freesans13". It works here at my place but I don't have any 'Baltic' text, so please tell me if it works.
Using this freesans13 will leave a much lesser footprint in the pdf-files.

/Joe

7 (edited by lordas101 10/23/2011 05:31:54 pm)

Re: Unicocode problem with PDF reporting

now it works fine, thank you very much.