mupdf-rs
mupdf-rs copied to clipboard
Rust binding to mupdf
I'm trying to write a tool that can read and write PDF metadata. Reading is easy: the `mupdf::Document::metadata()` method does exactly the right thing. Writing is more difficult, since there's...
For example: https://github.com/heyLu/rust-mupdf/blob/8ced6e881b34b46cc538aa3e5cf2f040ee516a3d/src/pdf.rs#L56-L139
Code: https://github.com/pymupdf/PyMuPDF/blob/7cfedac348e2e52a0586ca41844737592b98ba4a/fitz/utils.py#L2419 Doc: https://pymupdf.readthedocs.io/en/latest/shape/
At present, the to_text_page method of page.rs can only obtain image and text information, and cannot obtain path information, which is required in table extraction; Suggest adding methods for traversing...
Updates the requirements on [font-kit](https://github.com/servo/font-kit) to permit the latest version. Commits 428a2e5 bug: Add diagnostic information on font load error (#235) 66d53bc Update core-graphics to 0.23 and core-text to 20.1.0...
Hello, I am very new to this crate and rust in general, so sorry in advance if this is a stupid question :smile: I want to extract links from an...
When trying to add the mupdf crate to an empty project and building it on windows, I get the following error: ``` C:\dev\Rust\mupdf-test\target\debug\build\mupdf-sys-61a5ef3cbd8e3793\out\build\platform\win32\bin2coff.targets(76,5): error MSB3721: The command "Release\bin2coff.exe "C:\dev\Rust\mupdf-test\target\debug\build\mupdf-sys-61a5ef3cbd8e3793\out\build\resources\fonts\droid\DroidSansFallback.ttf" "x64\Release\libresources\DroidSansFallback_ttf.obj"...
The program panic when I try coverting a page to svg(STATUS_ACCESS_VIOLATION): ``` use std::fmt::Display; use std::io::Write; use std::path::Path; use mupdf::document::Document; use mupdf::{Matrix, Page}; /// Renders each page in the PDF...
When I try coverting a page that have image to `html` or `xhtml`, the image is not included. With this code: ```rs fn main() { use mupdf::{Document, Page}; use std::fs;...