You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Stirling Office Convert 0.3.2
PDF to Office
MathJax and KaTeX formulas (Obsidian, browser exports) are rebuilt from their layout: real sub- and superscripts in XLSX, ODS, ODT, HTML, Markdown and PPTX, and native Word equations in DOCX with fractions, roots, limits, nested scripts and cases
Formula tables keep overbars, hats and tildes on their letters (x̄, π̂, x̃), radicals read as √, and a repeated table header is not glued into the previous page's last row
Content in hidden layers is left out; damaged PDFs open in every feature; garbled pages no longer show junk text
Fonts drawn smaller than their own cap height are sized by what is drawn; .notdef codes and placeholder spaces no longer show as stray characters or hide word gaps
Highlights shade the words under them, barcodes keep their modules, CalRGB and clamped colours match viewers, small pages keep their size, column breaks land in the right column
One failed paint no longer drops the rest of a page
Output is deterministic: the same input gives byte-identical files
PDF/A
Passes the remaining veraPDF rules on almost all of the pdf.js corpus at every level, and all of pdfium's tests
u and a levels keep text as extractable as b
Unembedded CJK and CID fonts get stand-ins that cover their text, so pages no longer render blank
Transfer functions, soft masks, JPEG 2000 colour and CalGray are rendered correctly when flattening
Line art
As fast as 0.3.1 with identical output, and light yellow and orange fills stay solid
App
Every CLI output format is available in the web app, with the same option parsing, plus a sheet mode for XLSX and ODS
The app's page script loads again (it stopped on a syntax error, leaving the format picker empty)
Speed and safety
Script detection, glyph lookup, Arabic font matching, sheet lookups and PDF/A token counting are faster (HTML/EPUB to PDF about 15% less CPU, PDF to DOCX about 8%)
Formula, overline and radical work is capped for hostile input, and equation text drops characters that are not valid XML
API
Removed undocumented public members that nothing used: PdfTableExtractor, Units.* except emu(), ExtractedTable.toGrid, ExtractedCell.isMerged, CellStyle.withAlignment, PdfOutput.hasDestination, HtmlDocument.targetBookmark