Skip to content

v0.3.1

Choose a tag to compare

@Frooodle Frooodle released this 31 Oct 15:20
e573d50

Stirling Office Convert 0.3.1

PDF to Office text

  • Fonts without a Unicode map (bitmap Type 3 TeX fonts, CID fonts without ToUnicode) give readable text instead of junk or nothing
  • Unembedded TeX fonts (Computer Modern, AMS, Euler), Wingdings, Webdings, Symbol and core Word fonts are read through their own encodings; accents placed over letters join them ("Nordström", "naïve")
  • Upright and OCR text on rotated pages is kept, shadow copies are dropped, list-box values are kept
  • Right-to-left text extracts whole

Office to PDF

  • CFF and collection fonts (.otf, .ttc, .otc) are embedded, so CJK, symbol fonts and emoji stop drawing as boxes
  • Colour emoji in Word, PowerPoint and HTML; Excel draws them monochrome as Excel does; emoji sequences and flags take one width
  • XLSX closer to Excel: column widths from Excel's digit widths for 30 Office fonts, Arial row heights, bold headers, long words breaking, #### for numbers that do not fit, government workbooks' print areas
  • CJK fallback text and list numbers take Word's line height; stem and branch lists continue in decimal after 10 and 12
  • Page-bottom objects, headers and missing cloud fonts placed like Word; Lotus 1-2-3 number formats and column widths; CSV without a file-name header

HTML and eBooks

  • Email HTML laid out like Chrome: legacy align, page and body colour, margins, cell padding, sized blocks, link buttons, text-autospace
  • Rounded corners, shadows and gradients; Chrome's print margins
  • CLI folder mode converts eBooks and zips too

Safety and fixes

  • Overflowing XLSX cell text is drawn only where a page can show it, and emoji-dense sheets stay small
  • Bounds on CFF subsetting, Type 3 glyph reading, Lotus files and XLSX styles for untrusted input
  • Font files are no longer held open after loading (Windows)
  • Blank pages left out past the 10,000-page fill limit are reported