How to add Persian font < if I become successful in adding the font, it will be shown in a messy way

How to add Persian font < if I become successful in adding the font, it will be shown in a messy way

You are providing a relative font file location. Try placing the file inside it or provide the absolute full path as an argument to createFont method