mirror of
				https://github.com/crater-invoice/crater.git
				synced 2025-11-03 14:03:18 -05:00 
			
		
		
		
	* add thai language config
* update thai translation
* update thai translation
* add THSarabunNew fonts to using in pdf
* update: pdf file to support thai language by checking isLocale('th') and include thai font-family
* update: thai translation
* remove the index.php file (not used)
* move THSarabunNew fonts to resoureces/static/fonts
* Add .gitkeep to storage/fonts to pre-build the fonts directory
Co-authored-by: Ritthikrai (Champ) Wiengchai <ritthikrai.w@aware.co.th>
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			974 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			974 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<style type="text/css">
 | 
						|
    @font-face {
 | 
						|
        font-family: 'THSarabunNew';
 | 
						|
        font-style: normal;
 | 
						|
        font-weight: normal;
 | 
						|
        src: url("{{ resource_path('static/fonts/THSarabunNew.ttf') }}") format('truetype');
 | 
						|
    }
 | 
						|
 | 
						|
    @font-face {
 | 
						|
        font-family: 'THSarabunNew';
 | 
						|
        font-style: normal;
 | 
						|
        font-weight: bold;
 | 
						|
        src: url("{{ resource_path('static/fonts/THSarabunNew-Bold.ttf') }}") format('truetype');
 | 
						|
    }
 | 
						|
 | 
						|
    @font-face {
 | 
						|
        font-family: 'THSarabunNew';
 | 
						|
        font-style: italic;
 | 
						|
        font-weight: normal;
 | 
						|
        src: url("{{ resource_path('static/fonts/THSarabunNew-Italic.ttf') }}") format('truetype');
 | 
						|
    }
 | 
						|
 | 
						|
    @font-face {
 | 
						|
        font-family: 'THSarabunNew';
 | 
						|
        font-style: italic;
 | 
						|
        font-weight: bold;
 | 
						|
        src: url("{{ resource_path('static/fonts/THSarabunNew-BoldItalic.ttf') }}") format('truetype');
 | 
						|
    }
 | 
						|
 | 
						|
    body {
 | 
						|
        font-family: "THSarabunNew", sans-serif !important;
 | 
						|
    }
 | 
						|
 | 
						|
</style>
 |