5 releases (breaking)
new 0.5.0 | Mar 9, 2025 |
---|---|
0.4.0 | Feb 16, 2025 |
0.3.0 | Jan 20, 2025 |
0.2.0 | Dec 27, 2024 |
0.1.0 | Dec 23, 2024 |
#47 in #type-safe
238 downloads per month
250KB
4.5K
SLoC
Livre
Livre, pronounced [livʁ] (the french word for book) aims to be a type-safe utility for parsing PDF documents.
Please note that this is a very early release, primarily meant as a motivational tool for me to work towards an actually working release in the near future.
This first version already provides a sufficient set of low-level utilities to extract all PDF primitive types in a type-safe manner.
Obtaining the PDF specification
Thankfully, the ISO standards defining the PDF specification can be downloaded free of charge. Visit the PDF Association's website to get your version.
Tentative roadmap
- (
v0.1.0
) Low-level extraction utilities for primitive PDF types - (
v0.2.0
) Parser for cross-reference dictionary - (
v0.3.0
) Eager, owned instance of theBuilder
trait - (
v0.4.0
) Parser for the general PDF structure, allowing to iterate over pages and their content - (
v0.5.0
) Parser for pages' content operators & text content - (
v0.6.0
) Parser for fonts definition - starting with "simple fonts". This step will allow iterating over characters and their actual position.
Dependencies
~1.5–2MB
~48K SLoC