MYSTERY ZILLION တွင် English သို့မဟုတ် Unicode ဖြင့်သာ အသုံးပြုခွင့်ရှိသည်။ ဇော်ဂျီ ၊ ဧရာ စသည်တို့ကို အသုံးပြုခွင့် မရှိ။ Unicode fonts များမှာ Mon3,Yunghkio, Myanamr3 စသည်များ အသုံးပြုနိုင်သည်။ Unicode Guide ကို ဒီမှာ Download ချပါ။ Zawgyi to Unicode Converter
Don't share ebook or software if nobody request. You can find free book websites on here. We are welcome for discussion or asking question instead.

How to add text to zend pdf with unicode format

$pdf = new Zend_Pdf(); $pdf->pages[0] = new Zend_Pdf_Page(Zend_Pdf_Page::SIZE_A4); $pdf->pages[0]->setFont(Zend_Pdf_Font::fontWithPath("myanmar3.ttf"), 10); $text = "မြန်မာစာ မြန်မာစကား"; $pdf->pages[0]->drawText('',90,500,'UTF-8');

Fonts are not auto embed fonts in pdf ! How can i auto embed fonts in pdf ! Plz

Thanked by 1 illikintann


  • Administrators

    Try to use full path instead of myanmar3.ttf.


    $pdf->pages[0]->setFont(Zend_Pdf_Font::fontWithPath("/home/users/myuser/fonts/myanmar3.ttf"), 10);
    Thanked by 1 illikintann
  • Registered Users

    yeap :D i already used the path in the project directory !Project runs in public directory!myanmar3.ttf was in the public directory! But font error too !So i try another ways. i also used zawgyi fonts ! It okay with zawgyi fonts but data from database was unicode ! So i used your library api about unicode to zawgyi ! changes fonts and shows ! But I will try again for unicode in next ! Thank You Bro ..

    Thanked by 1 illikintann
Sign In or Register to comment.