Skip to content

v0.2.4

Choose a tag to compare

@osolmaz osolmaz released this 01 Dec 06:58

Document Rendering Fidelity & Font Status

  • Typed fidelity reporting (f-office-docx, f-office, f-office-wasm): Distinguishes exact metric stand-ins from fallback substitutions (SubstituteLayout::Fallback), records natively matched fonts, emits privacy-safe missing-glyph warnings grouped by font and Unicode block (Warning::GlyphMissing), and exposes a typed FidelityReport via Document::fidelity() and Session::fidelity().
  • Worker & Web Component events (@f-office/docs): Streams typed FidelityReport through the worker and <f-office-docs> (el.fidelity, docs.fidelity, fidelitychange event, onFidelityChange option).
  • Document Fidelity UI (@f-office/docs-react): Adds a quiet check icon beside the document title when fonts match exactly, an amber/red warning pill and dismissible banner (DocsFidelityBanner) when fonts fall back or glyphs/elements degrade, a Document Fidelity popover showing the font match table, missing characters, and render notes, plus View → Fonts → Document fonts… in the menu bar and onFidelityChange on headless <FOfficeDocs />.

DOCX Layout & Formatting Fixes

  • Preserve body-level w:customXml content in the streamed XML reader.
  • Improve SmartArt line placement and last-line spacing, and fix zero atLeast line-spacing handling with the document line grid.
  • Include numbering list-label fonts and chosen math font families when scanning document font needs.