We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Issues with font?

In my last post(EMF/WMF format to png missing chinese characters), 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)


I have observed the issue shared by you and request you to please share the source files, along with details of temp files with us. Please also provide the Operating System and JDK details with us along with sample application that we test on our end. I also suggest you to please first try using Aspose.Imaging for Java 18.7 on your end as well.