- 🇮🇳India arunkumark Coimbatore
Recently am faced an issue with the Drupal commerce Order receipt. The currency symbol with UTF-8 is not supported in the DOMPDF export. After spending some time found the solution by adding the Font family
DejaVu Sans
into the Commerce Order Receipt twig.Reference: https://stackoverflow.com/questions/19830914/inr-currency-symbol-on-pdf-...
Before updating
* * @ingroup themeable */ #} <table class="order-receipt" width="100%" style="font-family: arial,sans-serif"> <tbody> <tr> <td>
After updating
* * @ingroup themeable */ #} <table class="order-receipt" width="100%" style="font-family: DejaVu Sans, arial,sans-serif"> <tbody> <tr> <td>
- First commit to issue fork.
- Status changed to Closed: duplicate
10 days ago 4:25pm 2 July 2025