I'm involved in a pretty big and complex svn project in Netbeans. I'm not really experienced in PHP, more like basic knowledge level. I'm stuck with the rendering of the PDF report file for a customer who uses Bulgarian language (Cyrillic win1251
or koi8-r
).
The PDF creation class I used is R&OS PDF class (Cpdf.php
& Cezpdf.php
, Cezpdf
extends Cpdf
), recently updated it to 0.11.6
, which supports UTF-8.
According to the manual of the class, I have to use ttf2ufm
(installed it from repository) to encode fonts, or something.
The font I want to use is Helvetica or Times Roman, nothing complex. It is already included in the fonts folder of the class.
If someone can explain this to me, in detail it would save me a lot of time, and we all know time is always short :)