Skip to content

Instantly share code, notes, and snippets.

@Sharifur
Created April 1, 2022 06:36
Show Gist options
  • Save Sharifur/c591450888ccc90c96aa1cabaa90dbd8 to your computer and use it in GitHub Desktop.
Save Sharifur/c591450888ccc90c96aa1cabaa90dbd8 to your computer and use it in GitHub Desktop.
Can't Use Thai Language in DOMPDF
<style>
@font-face {
font-family: 'THSarabunNew';
font-style: normal;
font-weight: normal;
src: url("{{ asset('assets/frontend/fonts/THSarabunNew.ttf') }}") format('truetype');
}
body {
font-family: "THSarabunNew";
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment