v1.21.0
atlasia-ma/MoulSotv1.21.0Sep 19, 2026by abimaelmartell
Upgrading?
AI Summary
This release introduces font weight metadata to text items and includes fixes for clipped text and file loading. It adds an opt-in mechanism to determine boldness based on font weight values.
Key Highlights
- Adds font_weight (100-900) to text items
- Opt-in bold_from_weight feature to determine boldness
- Filters out text painted entirely outside clip regions
- Tolerates leading bytes before the %PDF- header
Breaking Changes
- TextItem literals require font_weight: None for unknown weights
New Features
- Font weight metadata
- Opt-in bold weight detection
- Clipped text filtering
- Header byte tolerance
Full Release Notes
Changes since 1.20.0: - Add `font_weight`, the font's 100..=900 weight class, to text items in Rust, Node, Python and `pdf2md --items-json`, with an opt-in `bold_from_weight` on the positioned-text and region APIs that reads bold from a weight of 600 or more and keeps runs of different weight as separate items (#536). - Leave out text painted wholly outside its rectangular clip, so off-canvas labels no longer leak into the surrounding text (#539). - Tolerate leading bytes before the `%PDF-` header, locating it within the first 1024 bytes as mupdf, pdfium and poppler do (#538). `bold_from_weight` is opt-in; `is_bold` and item merging are unchanged by default. **Rust migration:** `TextItem` literals need `font_weight: None` for items whose weight class is unknown. Release preparation: #546. [Full changelog](https://github.com/firecrawl/pdf-inspector/compare/v1.20.0...v1.21.0)
Related Repositories
rasbt/LLMs-from-scratch★ 107,072
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
lyogavin/airllm★ 40,206
AirLLM 2.8T LLM inference with single 4GB GPU
NirDiamant/RAG_Techniques★ 29,960
This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutorial.
microsoft/OmniParser★ 25,539
A simple screen parsing tool towards pure vision based GUI agent
karpathy/nn-zero-to-hero★ 24,907
Neural Networks: Zero to Hero