Displaying Japanese in PDF
-
I have tried to follow the instructions on using Japanese fonts but have had no success. Any guidance would be much appreciated.
The font fact code I have embedded in the CSS file is:
@font-face { font-family: 'simsun'; font-style: normal; font-weight: normal; src: local('simsun'), local('simsun'), url(<?php echo $this->get_template_path(); ?>/fonts/simsun.ttf) format('truetype'); }
The font family in the CSS file is defined as:
font-family: 'simsun';
The folder structure where I have these files is:
/wp-content/themes/generatepress/woocommerce/pdf/JWholesaleThis must be correct as the custom template does show in my settings and has been selected.
But all of the characters continue to show as boxes.
Any assistance would be much appreciated.
The page I need help with: [log in to see the link]
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Displaying Japanese in PDF’ is closed to new replies.