Hello again,
I am success something but, its start supporting only hindi, i need hindi and english.
My code is:
@font-face {
font-family: 'NewDelhi';
font-style: normal;
font-weight: normal;
src: local('NewDelhi'), local('NewDelhi'), url(https://www.abcd.com/wp-content/themes/storefront-child/fonts/NewDelhi.ttf) format('truetype');
}
@font-face {
font-family: 'NewDelhi';
font-style: normal;
font-weight: bold;
src: local('NewDelhi Bold'), local('NewDelhi-Bold'), url(https://www.abcd.com/wp-content/themes/storefront-child/fonts/NewDelhi-bold.ttf) format('truetype');
}
@font-face {
font-family: 'NewDelhi';
font-style: italic;
font-weight: normal;
src: local('NewDelhi Italic'), local('NewDelhi-Italic'), url(https://www.abcd.com/wp-content/themes/storefront-child/fonts/NewDelhi-italic.ttf) format('truetype');
}
@font-face {
font-family: 'NewDelhi';
font-style: italic;
font-weight: bold;
src: local('NewDelhi Bold Italic'), local('NewDelhi-BoldItalic'), url(https://www.abcd.com/wp-content/themes/storefront-child/fonts/NewDelhi-bolditalic.ttf) format('truetype');
}
body {
background: #fff;
color: #000;
margin: 0cm;
font-family: 'Open Sans', NewDelhi, sans-serif;
/* want to use custom fonts? https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/using-custom-fonts/ */
font-size: 9pt;
line-height: 100%; /* fixes inherit dompdf bug */
}
Please help me now how can i use multiple font same time