រំលងទៅមាតិកា

កម្ពុជាត្រូវការសន្តិភាព / Cambodia needs peace

Laravel 1 នាទីអានភាសាអង់គ្លេស 19

Laravel Snappy — Khmer Unicode Support

To generate the pdf file with the Laravel framework, most developers will use barryvdh/laravel-snappy.

Laravel Snappy — Khmer Unicode Support

To generate the pdf file with the Laravel framework, most developers will use barryvdh/laravel-snappy.

Step 1: Copying Khmer Fonts on Linux

We need to copy the Khmer TTF file font from your local machine to your Ubuntu server by using this command

CMD
scp ~/Downloads/KhmerMEF1.ttf user@IP_ADDRESS:/home/user

Step 2: Install Khmer Fonts on Linux

After you copied the font to the server, you need to move it to /usr/share/fonts/truetype directory.

After that, you need to clear and regenerate your font cache by using this command

CMD
fc-list -f -v

Setp3: Call and use it

Finally, you can use it in the laravel-snappy by writing a simple CSS stylesheet.

CSS
font-family: 'KhmerMEF1', serif !important;

ចែករំលែកអត្ថបទនេះ

XFacebookTelegramLinkedIn

បន្តអាន

អត្ថបទទាក់ទង

02
Laravel5 នាទីអានភាសាអង់គ្លេស

Mastering Laravel: Top 10 Essential Tips for New Developers

Embarking on your Laravel journey? This guide covers the top 10 fundamental tips every new Laravel developer needs. From understanding the request lifecycle to mastering Eloquent and Artisan, set yourself up for success with these crucial insights.

03
Laravel7 នាទីអានភាសាអង់គ្លេស

Mastering Asynchronous Tasks: Getting Started with Laravel Queues

Enhance your Laravel application's performance and user experience by offloading long-running tasks. This guide introduces Laravel's powerful queue system, covering setup, job creation, and worker management. Dive into asynchronous processing and build more responsive applications.

ហ៊ែល ម៉ាប់

អ្នកអភិវឌ្ឍកម្មវិធីពេញលេញ