Browse our Products

Aspose.HTML for .NET 25.9 Release Notes

As per the regular monthly update process of all APIs being offered by Aspose, we are honored to announce the September release of Aspose.HTML for .NET.

Release Notes

This release introduces significant performance enhancements aimed at efficiency. Memory consumption has been reduced, and the processing of Base64-encoded resources has been optimized. Furthermore, the time required to open large documents has been substantially decreased, leading to a smoother and faster user experience.

Advanced Text and Symbol Rendering

The processing and rendering of complex text content have been significantly improved:

  • SVG Text Decorations: Extended support for text decorations in SVG, specifically adding the line-through property
  • RTL Text Fix: Fixed rendering of surrogate pairs in right-to-left (RTL) texts, ensuring correct character display
  • Extended Unicode Support: Improved handling of emojis and characters from extended Unicode range (≥ 0x10000) through:
    • Implementation of format 12 subtable support in font CMAP tables
    • Enhanced parsing of HTML numeric character references beyond 16-bit range

Enhanced CSS Custom Properties

Support for CSS custom properties (the var() function) has been significantly improved:

  • Proper handling of cascading variables
  • More accurate parsing and serialization of CSS values
  • Full alignment with modern specification requirements
  • Consistent rendering of styles relying on CSS variables

Layout and Table Rendering Improvements

  • Enhanced Table Splitting: Improved table splitting logic for better rendering of documents with complex layouts
  • More accurate page breaks within tables
  • Better handling of multi-page table content

Enhanced Text Decoration Support

Full implementation of text-decoration: underline and related properties:

  • text-decoration-skip-ink
  • text-decoration-thickness
  • text-underline-offset
  • text-underline-position

These properties provide precise control over decorative lines, particularly underlines for links, ensuring accurate rendering according to modern web standards.

Package references
Aspose.HTML for .NET 25.9.0 NuGet
Aspose.HTML.Drawing for .NET 25.9.0 NuGet
Aspose.HTML for Python via .NET 25.9.0 PyPI

Improvements and Changes

KeySummaryCategory
HTMLNET-6040Strikethrough text does not work.Task
HTMLNET-6416Surrogate pair reversed in RTL elements during text renderingBug
HTMLNET-6199Mht to pdf - exception - Incompatible unit types.Bug
HTMLNET-6135When converting to PDF, the underline changes its position relative to the text.Bug
HTMLNET-6162Incorrect rendering of some languages in EPUB file.Bug
HTMLNET-6624HTML to PDF: Emojis are not rendered correctlyBug
HTMLNET-6375When converting, we would like to receive information about the currently processed element.Task
HTMLNET-5693Failure to render certain UTF-8 encoded unicode charactersBug
HTMLNET-6269Smileys are not rendered correctly when html file is saved as pdfBug
HTMLNET-6636Missing emoji when converting HTML to PDF.Bug
HTMLNET-4888Convert downloaded webpage to mhtml formatInvestigation
HTMLNET-6311HTML to PDF: Intermittently conversion failureBug

Public API and Backward Incompatible Changes

Added APIs

namespace Aspose.Html.Rendering
{
    /// <summary>
    /// Holds current graphics control parameters.
    /// These parameters define the global framework within which the graphics operators execute.
    /// </summary>
    public class GraphicContext : ICloneable
    {
        /// <summary>
        /// Gets current processed element.
        /// </summary>
        public Element CurrentElement 
        {
            get;
        }
    }
}