CodeIgniter Forums
Generate pdf files in cyrillic? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Generate pdf files in cyrillic? (/showthread.php?tid=40710)



Generate pdf files in cyrillic? - El Forum - 04-16-2011

[eluser]Unknown[/eluser]
Hello,

I have a problem generating pdf files in cyrillic. I tried this
Using dompdf to generate pdf files

but I had only ?????
I am using wamp 2.0 on windows 7 OS
Can someone help me please?


Generate pdf files in cyrillic? - El Forum - 04-16-2011

[eluser]Rok Biderman[/eluser]
Did you read my post in the discussion http://ellislab.com/forums/viewthread/166687/#861647 ? I posted a link to font conversion tool, where you can convert your own fonts for such use. I made an example for Central European since I needed that, but I'm sure it could work for cyrillic. So, in short, your problem is you don't have a suitable font in your dompdf folder. Try converting one and use html entities as I described in the linked post. If it doesn't work out post again and I'll try it myself.