ERPNext uses wkhtmltopdf library to generate PDF - which basically renders it in a browser. If the fonts are correctly installed, hard to say why they don’t show up.
Do you want to try debugging wkhtmltopdf locally on your server to see what might be the issue?
Also, based on past experience, make sure your fonts are executable, and make sure you have the .ttf, .woff, and .woff2 fonts in your directory to make things work.
Thank you felix, the Persian and Arabic fonts are installed but only the .ttf not .woff and .woff2 fonts only the .ttf fonts are installed and executable, should i have both type of fonts in or only .ttf is good?
Looks like there is no issue with Persian/Arabic fonts i have change the currency symbol from ؋ to افغانی which is Persian/Arabic font and try to generate PDF it show افغانی correctly in PDF and Print Preview, therefore the ؋ is a symbol which is not cover in Persian/Arabic font.
Now can anyone help me in any other way to add ؋ symbol because افغانی is not symbol i just use it for test purpose only.
Waiting your good advice’s
Can any one tell me how the INR symbol work with ERPNext, as i investigate in forum it’s belong to font-awesome, if it’s true, can you tell me how to create font-awesome of AFN symbol (؋) and use it in ERPNExt?
Every font/symbol has a its own unicode character value.
As you asked about INR rupee it has U+20B9 ₹ INDIAN RUPEE SIGN has Unicode character. This font was supported first in ubuntu v.10 then other OS also supported later. For me this font(INR) was not working in windows7,and I solved it by updating font from Guidance for troubleshooting Windows Update issues - Windows Client | Microsoft Learn
In your case the font is available in Ubuntu. Even If I put the direct unicode value in currency list it works for web view. but the issue is wkhtmltopdf is not rendering the font famiy.
Thanks again @shivkumar@umair bellow steps help me to solve the issue:
Upload/ssh the font(s) to my home folder on the server
Copy font to the system fonts folder, this way it can be used by all users on the system sudo cp -R ~/arial /usr/share/fonts/truetype/
Check permissions sudo chmod 755 /usr/share/fonts/truetype/arial/
Install the fonts so applications can use them sudo fc-cache -f -v