Browse our Products

Aspose.SVG for Python via .NET 25.10 Release Notes

Major Features

We are pleased to announce the November release of Aspose.SVG for Python via .NET 25.10.0.
This version focuses on memory optimization, faster loading of large SVG documents, and improved CSS unit support, including a new resolution unit for dots per pixel.

Highlights

Feature / ChangeBenefit
Memory optimization for large SVGsLower memory footprint when loading and rendering complex SVG content in Python applications.
Faster loading of large documentsReduced load times for big or deeply nested SVG files.
Arabic font processing optimizationMore accurate and efficient rendering of Arabic and similar complex-script fonts.
Support for dpcm CSS unit and CSS_XBetter alignment with CSS standards and more precise control over resolution handling.

Enhancements and Fixes

  • Reduced memory usage
    Internal DOM and rendering subsystems were optimized to lower peak memory consumption when working with large or complex SVG documents, which is especially useful for server-side Python workloads.

  • Faster loading of large documents
    Parsing and resource handling routines were improved to speed up loading of multi-layered or deeply nested SVG graphics.

  • Improved Arabic font rendering
    Text shaping and glyph metrics processing for Arabic and similar scripts were refined to produce more accurate typographic output.

  • Support for the dpcm CSS unit
    Added support for the dpcm (dots per centimeter) CSS unit in length and resolution calculations, improving compatibility with print-oriented workflows and CSS specifications.


Public API Changes

Added APIs

Module / ClassMemberDescription
aspose.svg.dom.css.CSSPrimitiveValueCSS_XNew constant representing a CSS primitive value for dots per pixel (x) resolution units.

The new CSS_X constant is available on the CSSPrimitiveValue class in the aspose.svg.dom.css module.

from aspose.svg.dom.css import CSSPrimitiveValue

# Example: using the CSS_X unit constant
unit_type = CSSPrimitiveValue.CSS_X