# Tesseract.js v5.1.0 - Product: Tesseract.js (https://whatsnew.fyi/product/tesseract-js) - Vendor: naptha - Date: 2024-05-07 - Version: v5.1.0 - Original notes: https://github.com/naptha/tesseract.js/releases/tag/v5.1.0 - Permalink: https://whatsnew.fyi/product/tesseract-js/releases/v5.1.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: the summaries, labels and curation here are © What's New. Quote freely with attribution and a link back; wholesale republication of the corpus is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **added** — Add line size metrics to blocks output including rowAttributes property with ascenders, descenders, and row_height metrics on line objects ##### What's Changed * Added line size metrics to `blocks` output (#906) * `line` objects now include a property named `rowAttributes`, which is an object containing `ascenders`, `descenders`, and `row_height` metrics * These metrics allow for manual font size calculations that are more accurate than using the `font_size` property. * Updates to documentation, types, and dependencies ##### New Contributors * @Kishlay-notabot made their first contribution in https://github.com/naptha/tesseract.js/pull/896 * @k-nero made their first contribution in https://github.com/naptha/tesseract.js/pull/922 **Full Changelog**: https://github.com/naptha/tesseract.js/compare/v5.0.5...v5.1.0