Browse our Products

Aspose.Tasks for Java 23.8 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-10890Add an API allowing to specify user’s font folder when system font folders cannot be accessed by the applicationEnhancement
TASKSNET-4895Optimize memory footprint of large projectsEnhancement

Public API and Backwards Incompatible Changes

The following public types were added:Description
com.aspose.tasks.FontSettingsSpecifies font settings used when rendering project’s view.
The following public methods and properties were added:Description
com.aspose.tasks.FontSettings.#ctor
com.aspose.tasks.FontSettings.getDefaultFontName()Gets the default (or fallback) font for rendering.
com.aspose.tasks.FontSettings.setDefaultFontName( String )Sets the default (or fallback) font for rendering.
com.aspose.tasks.FontSettings.getUseProjectDefaultFont()Gets a value indicating whether the default font must be used for rendering.
com.aspose.tasks.FontSettings.setUseProjectDefaultFont( boolean )Sets a value indicating whether the default font must be used for rendering.
com.aspose.tasks.FontSettings.getFontResolveCallback()Gets a callback which can be used to customize resolved fonts.
com.aspose.tasks.FontSettings.setFontResolveCallback( com.aspose.tasks.FontResolveCallback )Sets a callback which can be used to customize resolved fonts.
com.aspose.tasks.FontSettings.setFontFolders( String[], boolean )Sets the folders where Aspose.Tasks looks for TrueType fonts when rendering project’s view.
com.aspose.tasks.HtmlSaveOptions.getFontSettings()Specifies font settings used when rendering project’s view.
com.aspose.tasks.ImageSaveOptions.getFontSettings()Specifies font settings used when rendering project’s view.
com.aspose.tasks.PdfSaveOptions.getFontSettings()Specifies font settings used when rendering project’s view.
com.aspose.tasks.TimephasedData.createCostTimephased( int, java.util.Date, java.util.Date, double, byte )Creates and initializes a new instance of the com.aspose.tasks.TimephasedData class for cost-based time phased data.

Breaking change notice

Related issue: TASKSNET-4895 - Optimize memory footprint of large projects

Before 23.8 the type of the TimephasedDataType, TimeUnitType, TaskKey, AsnKey, PrjKey, RscKey fields was int. Now their type is byte. If the values are used directly, you should cast them to byte.