Free Support Forum -

ArgumentException: FontFamily 'Segoe UI' not found error after update TASKS


After update ASPOSE.Tasks Java from version 18.7 to 19.10. We starts are occuring the following error when trying to convert MPP file to PDF:

java.lang.RuntimeException: class com.aspose.tasks.private_.Exceptions.ArgumentException: FontFamily 'Segoe UI' not found
Parameter name: Segoe UI
com.aspose.tasks.private_.c.j.a(Unknown Source)
com.aspose.tasks.private_.c.j.<init>(Unknown Source)
com.aspose.tasks.private_.c.j.<init>(Unknown Source)
com.aspose.tasks.cix.a(Unknown Source)
com.aspose.tasks.cjc.a(Unknown Source)
com.aspose.tasks.biv.a(Unknown Source)
com.aspose.tasks.biv.c(Unknown Source)
com.aspose.tasks.biv.<init>(Unknown Source)
com.aspose.tasks.bit.<init>(Unknown Source)
com.aspose.tasks.t.<init>(Unknown Source)<init>(Unknown Source)
com.aspose.tasks.aa.b(Unknown Source)

We are using macOs Mojave 10.14.6 on our development environment and CentOS 7.6.1810 our test environments. This error starts occuring on both environments, we didin’t made any changes to code.

This is the sample code:

		PdfSaveOptions saveOptions = new PdfSaveOptions();
		saveOptions.setTimescale(Timescale.Days);, saveOptions);

We’ve tried setting default font:


But this didn’t work.

I’ve shared MPP project that we trying to convert to pdf. It’s empty cause we only want convert to pdf. (24.9 KB)


I have worked with the sample file shared. An issue with ID TASKSJAVA-1024 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

Could you also tell me what exactly version of Java was used to compile ASPOSE.Task 19.10?
I need to know major and minor version.
E.g. 1.8.0_131


I like to share that the issue has been logged for investigation and resolution in our issue tracking system. We request for your patience till the time the investigation is completed and further feedback is shared. We will share the feedback with you as soon as it will be shared.