I now realize that you wrote that you were having the issue with the UEA dirham currency. The reason we don’t support this is that RTL text direction is not supported by the library we use to create the PDF (dompdf). We are tracking this issue here.
As a temporary solution you could add the following code snippet to your site:
add_action( 'wpo_wcpdf_before_html', function ( $document_type, $document ) {
add_filter( 'woocommerce_currency_symbol','wpo_wcpdf_currency_symbol_text', 999, 2);
}, 10, 2 );
add_action( 'wpo_wcpdf_after_html', function ( $document_type, $document ) {
remove_filter( 'woocommerce_currency_symbol','wpo_wcpdf_currency_symbol_text', 999, 2);
}, 10, 2 );
function wpo_wcpdf_currency_symbol_text( $currency_symbol, $currency ) {
if ( in_array( $currency, [ 'AED', 'BHD', 'DZD', 'IQD', 'IRR', 'JOD', 'KWD', 'LBP', 'LYD', 'MAD', 'MVR', 'OMR', 'QAR', 'SAR', 'SYP', 'TND', 'YER' ] ) ) {
$currency_symbol = $currency;
}
return $currency_symbol;
}
If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters