• Resolved delcie

    (@delcie)


    I have 2 questions:

    1. How do I get Chinese characters to appear on the PDF?
    2. How do I increase the font size in the PDF without losing the changed settings at every updates?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @delcie

    1) Some languages, like Chinese, are not supported by default, you must have to load a custom font. Please check the documentation about Using custom fonts.

    2) You can increase the font size by adding custom styles to the customizer in our Premium Templates extension, or alternatively with an action hook:

    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 );
    function wpo_wcpdf_custom_styles ( $document_type, $document ) {
        ?>
        body {
    		font-size: 10pt;
    	}
        <?php
    }
    • This reply was modified 4 years, 6 months ago by alexmigf.
    Thread Starter delcie

    (@delcie)

    Hi there, can I check if these font size and font characters/language are available default in your premium listing?

    Plugin Contributor alexmigf

    (@alexmigf)

    Hello @delcie

    For the Premium Templates, if you contact us, we will provide you a language pack, that you just need to install as a regular plugin.

    Thread Starter delcie

    (@delcie)

    Thank! can i also confirm font size for header billing, shipment addresses and body text size can be adjusted at premium templates?

    Plugin Contributor alexmigf

    (@alexmigf)

    Hello @delcie

    Yes, using custom styles, we can help you with that too.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Chinese Characters showing boxes on invoice and how to change font size?’ is closed to new replies.