Indian rupee Not showing in Invoice PDF WooCommerce site

866 Views Asked by At

Indian rupee Not showing in Invoice PDF WooCommerce site.Right to change fonts deja vu and other things but it didn't work. In Firefox symbols are not even showing on Chrome a square box is appearing next to the amount price I help would be appreciated,code treid

action( 'wp_enqueue_scripts', 'add_google_fonts' );
function add_google_fonts() {
  wp_enqueue_style( 'google_web_fonts', get_stylesheet_directory_uri() . '/dejavu/ttf/DejaVuSans.ttf' );
}

Extended currency symbol support
Enable this if your currency symbol is not displaying properly Enable font subsetting and Legacy mode has started showing currency symbol.....Resolved but only for chrome.problem remains on IE and firefox

indian rupee image

image2

1

There are 1 best solutions below

5
stickdeodorant On

As best I've been able to tell there the rupee symbol isn't a part of the DejaVu font. In this situation I would just use FontAwesome5: Rupee Symbol. Otherwise I would look into using a different webfont.