From d71cbd5fd34cdbecdf6666ce4d86ce9d48975f8b Mon Sep 17 00:00:00 2001 From: darkskygit Date: Fri, 18 Apr 2025 03:11:08 +0000 Subject: [PATCH] feat(server): improve pdf support (#10929) --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 29ddac416d..3013fd7f74 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2561,7 +2561,7 @@ checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42" [[package]] name = "pdf-extract" version = "0.8.2" -source = "git+https://github.com/toeverything/pdf-extract#49ef7d2aec5bb495467a40082cd9717e849ee29a" +source = "git+https://github.com/toeverything/pdf-extract?branch=darksky%2Fimprove-font-decoding#e74beed894e1b8dc228c2bf078ed92814b27759f" dependencies = [ "adobe-cmap-parser", "cff-parser", diff --git a/Cargo.toml b/Cargo.toml index ad2a261e88..5165645f4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,7 +40,7 @@ objc2-foundation = "0.3" once_cell = "1" parking_lot = "0.12" path-ext = "0.1.1" -pdf-extract = { git = "https://github.com/toeverything/pdf-extract" } +pdf-extract = { git = "https://github.com/toeverything/pdf-extract", branch = "darksky/improve-font-decoding" } rand = "0.9" rayon = "1.10" readability = { version = "0.3.0", default-features = false }