migrate to gtea from bistbucket
This commit is contained in:
47
Modules/Business/resources/views/pdf/fonts-css.blade.php
Normal file
47
Modules/Business/resources/views/pdf/fonts-css.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<style>
|
||||
/* Load Bangla font from storage/fonts */
|
||||
@font-face {
|
||||
font-family: 'NotoSans';
|
||||
font-style: normal;
|
||||
src: url("{{ asset('fonts/NotoSans-Regular.ttf') }}") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'NotoSansBengali';
|
||||
font-style: normal;
|
||||
src: url("{{ asset('fonts/NotoSansBengali-Regular.ttf') }}") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'NotoNaskhArabic';
|
||||
font-style: normal;
|
||||
src: url("{{ asset('fonts/NotoNaskhArabic-Regular.ttf') }}") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'NotoSansDevanagari';
|
||||
font-style: normal;
|
||||
src: url("{{ asset('fonts/NotoSansDevanagari-Regular.ttf') }}") format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'NotoSansSC';
|
||||
font-style: normal;
|
||||
src: url("{{ asset('fonts/NotoSansSC-Regular.ttf') }}") format("truetype");
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body, p, h1, h2, h3, h4, td, th, span, div {
|
||||
font-family:
|
||||
'NotoSansBengali',
|
||||
'NotoNaskhArabic',
|
||||
'NotoSansDevanagari',
|
||||
'NotoSansSC',
|
||||
'NotoSans',
|
||||
sans-serif;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user