Problem with Cyrillic letters in invoice [Resolved]

Started by NorrNext, February 03, 2025, 10:33:55 AM

Previous topic - Next topic

NorrNext

During the tests I noticed there are no Cyrillic letters in the invoice (customer's name and surname).
See the profile - Last Name:


And there are ? symbols instead of Cyrillic letters in the invoice:


I suppose there is a problem with pdf library.

VirtueMart 4.4.0 11095, Joomla 4


UPD: this issue appears in pdf file of the order.
NorrNext - payment plugins and ecommerce solutions for Joomla components - https://norrnext.com
Stripe for VirtueMart - https://extensions.virtuemart.net/checkout/payments/stripe-virtuemart-detail
Stripe Checkout for VirtueMart - https://extensions.virtuemart.net/checkout/payments/stripe-checkout-virtuemart-detail

NorrNext

PDF invoice: (test data)



This problem occurs due to font set.  VM comes with 3 default fonts:
  • Courier (base font) - no Cyrillic support
  • Helvetica (base font) - no Cyrillic support
  • Free mono (UTF-8 unicode) - it supports Cyrillic

Go to VM -> Shop -> invoices/emails tab -> Appearance -> Default font and choose Free mono.


The result:

NorrNext - payment plugins and ecommerce solutions for Joomla components - https://norrnext.com
Stripe for VirtueMart - https://extensions.virtuemart.net/checkout/payments/stripe-virtuemart-detail
Stripe Checkout for VirtueMart - https://extensions.virtuemart.net/checkout/payments/stripe-checkout-virtuemart-detail