UTF-8 Arabic Characters are not showing right
-
Hello,
Recently I was trying to fix an issue occurring to the pdf invoice when generated in Arabic language, It was at first showing squares and ????? symbols instead, then I changed the font to a one that supports UTF-8 characters, now when I generate a pdf invoice it shows the characters but each letter is not connected to the other (each letter is separated in the single word) check the attachment to see what I mean
I am using the Font “DejaVu Sans”
woocommerce version: 6.1.0
woocommerce pdf invoice version: 2.12.1I am doing this in my template style.css file:
@font-face { font-family: 'DejaVu Sans'; font-style: normal; font-weight: normal; src: local('DejaVu'), local('DejaVu'), url(<?php echo $this->get_template_path(); ?>/fonts/dejavu-sans/DejaVuSans.ttf) format('truetype'); body { font-family: 'DejaVu Sans', sans-serif; } }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘UTF-8 Arabic Characters are not showing right’ is closed to new replies.