Fixed issue #6969: Arabic characters not properly shown when exporting statistics as PDF