• Resolved gvangvalo

    (@gvangvalo)


    I have a problem that the file does not see the currency symbol (Gel Georgian Lari).

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Jensen

    (@dkjensen)

    Sorry to hear that, I will take a look in the morning and get that fixed for you.

    Thread Starter gvangvalo

    (@gvangvalo)

    Thanks bro, I really need to show this symbol .plz do it ??

    Plugin Author David Jensen

    (@dkjensen)

    Are you using Georgian as your default site language?

    Plugin Author David Jensen

    (@dkjensen)

    Please update to version 2.9.1, and if not using Georgian as default site language, add the following code snippet to your child theme functions.php file or in a PHP code snippet to load a Georgian compatible font:

    /**
     * Add Noto Sans Georgian font.
     * 
     * @param array $args mPDF args.
     * @return array
     */
    add_filter( 'wc_cart_pdf_mpdf_args', function( $args ) {
    	if ( empty( $args['fontdata'] ) || ! is_array( $args['fontdata'] ) ) {
    		$args['fontdata'] = array();
    	}
    
    	$args['fontdata'] = $args['fontdata'] + array(
    		'notosans-georgian' => array(
    			'R'  => 'NotoSansGeorgian.ttf',
    		),
    	);
    
    	$args['default_font'] = 'notosans-georgian';
    
    	return $args;
    } );
    Thread Starter gvangvalo

    (@gvangvalo)

    thanks bro! its working!

    Plugin Author David Jensen

    (@dkjensen)

    Great! Glad we got that working. Cheers

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘currency symbol’ is closed to new replies.