৩৫ তম বিসিএস এর নিয়োগ বিজ্ঞপ্তি প্রকাশিত হয়েছে

৩৫তম বিসিএসের বিজ্ঞপ্তি প্রকাশ করেছে সরকারি কর্মকমিশন (পিএসসি)। এর মাধ্যমে এক হাজার ৮০৩টি শূন্য পদের বিপরীতে সরকারি কর্মকর্তা নিয়োগ করা হবে। আবেদনপত্রের পুরো প্রক্রিয়া হবে অনলাইনে। আর এবার প্রিলিমিনারি পরীক্ষা হবে ২০০ নম্বরের।

Where the missing block gone.....

To get this type of puzzle more visit this site regularly.......

Sunday, October 2, 2016

How to write Bengali (Bangla বাংলা) unicode PDF file using PHP?

How to write Bengali (Bangla বাংলা) unicode PDF file using PHP?

Solution:  Now a days Bengali is using a lot on Computer based system. So developers need generate Bangla PDF file frequently.  But generating Bangla pdf is not so easy as it is complex script. In this tutorial I will use mpdf 6.0  library for PDF generation and nikosh.ttf as Bangla unicode font. If you are not familiar with mpdf, but using fpdf, don't worry. mpdf is similar with fpdf with very little change.

Step 01: First of all, we need to download mpdf library and nikosh.ttf unicode Bangla font.

Step 02: Now, copy nikosh.ttf font file on /ttfonts folder of mpdf library.




Step 03: For add any font the major task is to change config_fonts.php file of mpdf. As Bangla has similarity with Indic language so I will add Bangla font (Nikosh) information after Indic.   






That's it. We are done. Now we can generate Bangla PDF files using php.
Here is a simple php example of Bangla pdf file generation:








If you don't want to go through those process, you could just download my modified mpdf from here
Or you could just download config_fonts.php and example file individualy