امتیاز موضوع:
  • 15 رأی - میانگین امتیازات: 2.73
  • 1
  • 2
  • 3
  • 4
  • 5
فونت PDF ساز
#1
با سلام خدمت دوستان و اساتید

فونت پیش فاکتور و فاکتوری که PDF ساز ویتایگر می ده، اصلا مناسب نیست، من نیاز دارم که از یک فونت فارسی رایج مثلا yekan یا bnazanin استفاده کنم، چطور می شه با تغییراتی این کار را انجام داد؟

کمی سرچ کردم و فقط به موارد زیر رسیدم.
1- فایل فونت ttf را در مسیر mpdf/ttfonts/..  را کپی باید کرد.
2- در فایل config_fonts.php در پوشه mpdf باید بعد از this->fontdata array$  باید یه entry به شکل زیر نوشت:


  ) yekan" => array"
                    'R' => 'yekan.ttf',            //Regular- REQUIRED
                 ,(

3- سپس در فایل config.php هر جا فونتی بود به yekan تبدیل شود.


موارد زیر صورت گرفت ولی خروجی تغییری نکرد. بازم سرچ کردم، خود سایت ITs4You موارد زیر رو مرحله به مرحله گفته که اگر یکی از اساتید بتونه بیشتر برای بنده توضیح بده بسیار ازش ممنون می شم.

    Upload the Truetype font file to the fonts directory (/PDFMaker/mpdf/ttfonts)
    Define the font file details in the configuration file (/PDFMaker/mpdf/config_fonts.php)
    Access the font by specifying it in your HTML code as the CSS font-family
    To use the font with specific languages, you need also to edit the configuration file (/PDFMaker/mpdf/config_cp.php)
    Define the font type in the FCKEditor configuration file (fck_config.js)

این موضوع خیلی مهمی است لطفا پاسخ دهید.
پاسخ
سپاس شده توسط:
#2
بنده هم همین مشکل را دارم . لطفا راهنمایی بفرمایید
پاسخ
سپاس شده توسط:
#3
هیچکس راه حل نداره؟؟!!!!!!!!!
پاسخ
سپاس شده توسط:
#4
منم این مشکل رو دارم...!!!
[Only registered and activated users can see links Click here to register] | [Only registered and activated users can see links Click here to register] | [Only registered and activated users can see links Click here to register] | [Only registered and activated users can see links Click here to register]
پاسخ
سپاس شده توسط:


پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table 'favtiger_mybb.mybb_threadviews' doesn't exist
Query:
INSERT INTO mybb_threadviews (tid) VALUES('75')

If you're a visitor of this website, please wait a few minutes and try again. If this problem persists, please contact the site owner.

If you are the site owner, please check the MyBB Documentation for help resolving common issues, or get technical help on the MyBB Community Forums.