Japanese Font No Longer Rendering
-
Hi – has something changed recently which would prevent our Japanese fonts from rendering?
We have custom templates which load fonts based on the documentation here: https://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/using-custom-fonts/
Specifically, in our styles.css we have the following code:
@font-face {
font-family: 'NotoSansJP';
font-style: normal;
font-weight: normal;
src: local('NotoSansJP'), local('NotoSansJP'), url(get_template_path(); ?>/fonts/NotoSansJP-Regular.ttf') format('truetype');
}@font-face {
font-family: 'NotoSansJP';
font-style: normal;
font-weight: bold;
src: local('NotoSansJP'), local('NotoSansJP'), url(get_template_path(); ?>/fonts/NotoSansJP-Bold.ttf') format('truetype');
}and
font-family: 'NotoSansJP';Has something changed recently? Do I need to make a change to the above code?
Any assistance would be greatly appreciated.
The topic ‘Japanese Font No Longer Rendering’ is closed to new replies.