Hi, I have this code here that works fine offline, but fails online because of security IO issues.
font = Font.createFont(Font.TRUETYPE_FONT,new File("font.ttf")).deriveFont(20f);
I think the problem is that it is trying to load the font from the user’s file system instead of from the server. How can I fix this?
thanks