Webmartit
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Error showing japanese textFixed!
Many many thanks.- This reply was modified 2 years, 5 months ago by Webmartit.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Error showing japanese textI’ve just copied content from Simple folder in:
/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/Simple
to, in my case:
/wp-content/themes/oceanwp-child-theme-master/woocommerce/pdf/KomorebiThe them was corretly recognised and checked under “Choose a template” tab.
I’ve also add “fonts” folder as wrote above.This is the custom css: https://pastebin.com/QigMWDti
Many thanks
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Error showing japanese textIt mean that i’ve correctly set my custom template under “Choose a template”
I’ve updated css file, nothing to do, please look (where in blank there s japanese text)
Thanks
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Error showing japanese textThanks, just done, but not work too.
In my custom template, set under Plugin option, i’ve created a “fonts” folder with SawarabiGothic-Regular.ttf font (downloaded from google fonts, https://fonts.google.com/specimen/Sawarabi+Gothic?subset=japanese)
This is my custom css:
body { background: #fff; color: #000; margin: 0cm; font-family: 'Open Sans', sans-serif, 'Nihongo';
on bottom i’ve add:
/* Load font */ @font-face { font-family: 'Nihongo'; font-style: normal; font-weight: normal; src: local('Nihongo'), local('Nihongo'), url(<?php echo $this->get_template_path(); ?>/fonts/SawarabiGothic-Regular.ttf) format('truetype');
it is correct?