I'm trying to create Persian pdf files in my android application using www.itextpdf.com but I get java.io.IOException arial.ttf
not found as file or resource. Here is the code with the problem.
BaseFont font = BaseFont.createFont("arial.ttf", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
this code is fine in eclipse
(java project not android) but wont work in Android studio. I don't know how to address the ttf file. Any help would be appreciated.