Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

Font 'Times New Roman' not found. Please make sure the customer font file is correctly set.

$
0
0
I getting the following exception when calling pdf.save() on a "aspose.pdf.Pdf" object:
Caused by: java.lang.IllegalStateException: Font 'Times New Roman' not found. Please make sure the customer font file is correctly set.
	at aspose.pdf.internal.hv.a(Unknown Source)
	at aspose.pdf.internal.ht.c(Unknown Source)
	at aspose.pdf.internal.ht.a(Unknown Source)
	at aspose.pdf.internal.io.a(Unknown Source)
	at aspose.pdf.internal.io.a(Unknown Source)
	at aspose.pdf.internal.kp.a(Unknown Source)
	at aspose.pdf.internal.ll.a(Unknown Source)
	at aspose.pdf.internal.la.a(Unknown Source)
	at aspose.pdf.xml.DocumentBase.a(Unknown Source)
	at aspose.pdf.internal.ka.a(Unknown Source)
	at aspose.pdf.Pdf.save(Unknown Source)
I'm not using that font anywhere in my pdf and a Font object is returned if I call the following method:

  • com.aspose.pdf.FontRepository.findFont("Times New Roman");


Viewing all articles
Browse latest Browse all 3131

Trending Articles