Aspose.CSS for C++ brings modern CSS layout to HTML rendering from C++: flexbox, grid and document flow, rendered to PDF documents and PNG images inside your own process. Page size, margins, orientation and breaks are set with CSS; fonts, images and stylesheets load from files, streams or your own resource handler. Screen-layout geometry is measured against Chromium on selected Web Platform Tests layout suites, and the compatibility report is published with each release. Aspose.CSS for C++ is in development; the .NET release ships first, with Python, Java, C++ and TypeScript following on the same engine design.
Aspose.CSS for C++ Features
Browser-designed documents: the CSS layouts your team designs in the browser, carried into application output
CSS flexbox layouts
CSS grid layouts
Document flow: block, inline and table layout
HTML to PDF
HTML to PNG
PDF page setup: size, margins and orientation with CSS @page
Page breaks: forced and avoided breaks, widows and orphans
Fonts and text: system and embedded fonts, fallback, shaping and bidirectional text
Resources from files, streams or your own handler
In-process rendering: no browser to install, automate, update or secure
Chromium compatibility report published with each release
Designed in the Browser, Delivered as a Document
Your team designs with HTML and CSS and validates the result in a browser. Aspose.CSS for C++ carries the same layout into PDF documents and PNG previews produced by your native application, so the approved on-screen template is the template you ship, with no browser process required in deployment.
Measured Against Chromium
For this engine, CSS fidelity is measured rather than described only by a feature list. Its screen-layout geometry is checked against Chromium test by test on selected Web Platform Tests layout suites, with every release documenting the test scope, tolerance, results and known differences in a compatibility report.