In my last post(EMF/WMF format to png missing chinese characters - #8 by Adnan.Ahmad), copy font to font directory works well, but there is another bug.
It seems that when converting image, many tmp files are created(/data/temp/xxxx.tmp).I think it is something wrong with the fonts i copied.
After Google, may be some bugs with jdk?
this code will create the tmp file
Font dynamicFont = Font.createFont(Font.TRUETYPE_FONT, InputStream input);
while, this code does not.
Font dynamicFont = Font.createFont(Font.TRUETYPE_FONT, new File(pathString));
And some other links:
[#4743] - Too many temporary font files (+~JF tmp)
http://community.jaspersoft.com/jasperreports-library/issues/4743