mosx1 / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Greek Language #441

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello to all. I try to install the Verdana fonts so the dompdf recognise the 
Greek language. I download the font and place it in the fonts folder. Then I 
modify the dompdf_font_family_cache.dist . In the php file I added : 'verdana' 
=> array (
    'normal' => DOMPDF_FONT_DIR . 'verdana',
    'bold' => DOMPDF_FONT_DIR . 'verdana',
    'italic' => DOMPDF_FONT_DIR . 'verdana',
    'bold_italic' => DOMPDF_FONT_DIR . 'verdana' .
And finally I change the DOMPDF_UNICODE_ENABLED to true, but nothings happen. I 
do something wrong? Is there anything else I can do?

Original issue reported on code.google.com by jamespan...@gmail.com on 13 Mar 2012 at 12:51

GoogleCodeExporter commented 8 years ago
You're going about it in the wrong way. Try read over the following 
documentation:
http://code.google.com/p/dompdf/wiki/CPDFUnicode

It needs to be updated to reflect some changes with beta 3, but the advice 
still holds. Also, if you don't need Verdana you might try DejaVu Sans, it's 
built in to beta 3.

Original comment by eclecticgeek on 17 Mar 2012 at 2:26

GoogleCodeExporter commented 8 years ago

Original comment by eclecticgeek on 30 May 2013 at 5:16