llon Posted July 2, 2015 Posted July 2, 2015 สอบถามเรื่องใบกับกับสินค้าที่เป็น PDF ค่ะ ภาษาที่แสดงในใบกับกับสินค้าที่เป็นไฟล์ PDF เป็นภาษาที่อ่านไม่ออก แบบในไฟล์แนบค่ะ ไม่ทราบว่าจะต้องแก้ไขยังไงค่ะ Share this post Link to post Share on other sites More sharing options...
Devstore Thai Posted July 2, 2015 Posted July 2, 2015 หลังร้านเซตไว้เป็นภาษาอะไรครับ แบบ font จะขึ้นกับภาษาที่เลือกใช้ด้วยนะครับ Share this post Link to post Share on other sites More sharing options...
llon Posted July 2, 2015 Posted July 2, 2015 เป็นภาษาไทยค่ะ จะมีวิธีที่ทำให้ใช้ภาษาไทยใน ใบกับกับสินค้า ได้ไหมค่ะ?? Share this post Link to post Share on other sites More sharing options...
Devstore Thai Posted July 2, 2015 Posted July 2, 2015 ตั้งแต่ 1.6 เป็นต้นมา จะไม่ค่อยเจอปัญหาเรื่อง Font thai สำหรับ PDF นะครับ ดูจากภาพประกอบ ลักษณะของ font เองก็ดูไม่ปกติเท่าไหร่นะครับ ถ้าเป็นในกรณีที่ font ไม่ตรงกับภาษาที่ใช้อยู่ เช่นเนื้อหาเป็น TH แต่ font เป็น EN จะเป็นตามภาพนี้ครับ Share this post Link to post Share on other sites More sharing options...
tuk66 Posted July 2, 2015 Posted July 2, 2015 คุณมีแบบอักษร freeserif ในร้านของคุณ? คำนิยามนี้อยู่ในไฟล์ PDFGenerator.php: Have you freeserif fonts in your store? This definition is in the PDFGenerator.php file: public $font_by_lang = array( 'ja' => 'cid0jp', 'bg' => 'freeserif', 'ru' => 'freeserif', 'uk' => 'freeserif', 'mk' => 'freeserif', 'el' => 'freeserif', 'en' => 'dejavusans', 'vn' => 'dejavusans', 'pl' => 'dejavusans', 'ar' => 'dejavusans', 'fa' => 'dejavusans', 'ur' => 'dejavusans', 'az' => 'dejavusans', 'ca' => 'dejavusans', 'gl' => 'dejavusans', 'hr' => 'dejavusans', 'sr' => 'dejavusans', 'si' => 'dejavusans', 'cs' => 'dejavusans', 'sk' => 'dejavusans', 'ka' => 'dejavusans', 'he' => 'dejavusans', 'lo' => 'dejavusans', 'lv' => 'dejavusans', 'tr' => 'dejavusans', 'ko' => 'cid0kr', 'zh' => 'cid0cs', 'tw' => 'cid0cs', 'th' => 'freeserif' ); Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now