I have devanagari script in my html file. But it is displayed as ?????? in the .pdf file. how to solve this problem?
This is the html code
<style>
@font-face {
src: url("/Shivaji01.ttf");
font-family: "Shivaji01";
}
</style>
<p style="text-align:center;font-family:Shivaji01"> फोंडा - गोवा 403401 </p>
and i am getting this error: Undefined index:in \vendor\dompdf\dompdf\lib\Cpdf.php