Commit Graph

121 Commits

Author SHA1 Message Date
Y.D.X. 3455ac7dd2
Include numbering in PDF bookmark (#6622)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-08-07 11:17:54 +00:00
Laurenz c49b9640a6
Rename `pdf.embed` to `pdf.attach` (#6705) 2025-08-07 10:19:47 +00:00
Laurenz Stampfl 2809dac6a7
Apply aspect ratio correction for linear gradients in PDF export (#6689) 2025-08-04 09:59:10 +00:00
Laurenz 492bd27885
Faster constraint checking in comemo (bumps comemo & krilla) (#6683) 2025-07-31 09:21:24 +00:00
Laurenz 88dfe4d276
Use `rustc-hash` for hash maps and sets (#6678) 2025-07-31 08:45:03 +00:00
Laurenz Stampfl af2253ba16
Add support for PDF embedding (#6623)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-07-22 11:06:44 +00:00
Laurenz b036fd97ab Reformat with 2024 edition 2025-07-21 15:22:29 +02:00
Laurenz c9c2315ad3 Fix 2024 clippy warnings 2025-07-21 15:22:29 +02:00
Laurenz 4bbd4e195b Migrate to 2024 edition 2025-07-21 15:22:28 +02:00
Laurenz 0a3c6939dd
Rewrite foundations of native elements (#6547) 2025-07-08 08:52:43 +00:00
Tobias Schmitz cc3a68ecb1
Remove duplicate language computation (#6557) 2025-07-04 17:00:45 +00:00
Adrián Delgado 880f56c90d
Fix typo in PDF standard CLI help (#6518) 2025-06-30 08:27:42 +00:00
Tobias Schmitz 70399a94fd
Bump `krilla` to current Git version (#6488)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-24 13:23:37 +00:00
Laurenz fbb02f40d9 Consistent codepoint formatting in HTML and PDF error messages 2025-06-23 14:18:41 +02:00
Max 44d410dd00
Use the shaper in math (#6336) 2025-06-10 14:44:38 +00:00
Tobias Schmitz 26c19a49c8
Use the infer crate to determine if pdf embeds should be compressed (#6256) 2025-05-12 08:07:43 +00:00
Laurenz Stampfl 96dd67e011
Switch PDF backend to `krilla` (#5420)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-01 14:42:52 +00:00
Eduardo Sánchez Muñoz 38213ed534
Use `u64` instead of `usize` to store counter and enumeration item numbers, so behavior does not vary from 64-bit to 32-bit platforms (#6026) 2025-03-24 18:16:33 +00:00
Caleb Maclennan bd531e08dc
Bump `rustybuzz` (and adjacent crates) (#5407) 2025-03-10 12:45:08 +00:00
Laurenz 69c3f95705
Bump MSRV to 1.83 and Rust in CI to 1.85 (#5946) 2025-02-24 12:28:01 +00:00
Laurenz 12dbb012b1
Revert adding `flatten-text` to `image` (#5789) 2025-02-02 19:25:58 +00:00
frozolotl 3eb6e87af1
Include images from raw pixmaps and more (#5632)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-31 09:56:25 +00:00
Laurenz 6b9b78596a
Don't generate accessors for required fields (#5680) 2025-01-10 16:54:11 +00:00
Laurenz e2b37fef33
Revamp data loading and deprecate `decode` functions (#5671) 2025-01-09 09:34:16 +00:00
Niklas Eicker 0a374d2380
Embed files associated with the document as a whole (#5221)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-01-08 09:38:34 +00:00
Emmanuel Lesueur 257764181e
New `curve` element that supersedes `path` (#5323)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-18 15:58:57 +00:00
Zhuofeng Wang 54cee16c31
Add timezone to PDF's default timestamp. (#5564)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-12-17 09:43:01 +00:00
Laurenz 1346385255
Rename `pattern` to `tiling` (#5590) 2024-12-17 09:25:27 +00:00
Laurenz Stampfl 67ef6066f4
Add support for converting text in SVGs to paths (#5390) 2024-12-08 17:06:25 +00:00
Laurenz 497446944c Add `document.description` field 2024-12-04 10:12:07 +01:00
Laurenz f8f2ba6a5f Rename `Document` to `PagedDocument` 2024-12-04 10:12:07 +01:00
Laurenz d40c8ab6ab
Compile-time `PicoStr` interning (#5491) 2024-11-29 15:03:08 +00:00
Abdul-Rahman Sibahi b969c01b28
Replace `once_cell`'s `Lazy` as much as possible (#4617)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-10-31 11:52:11 +00:00
Laurenz be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Laurenz 6257e4d6cf
More robust glyph drawing (#5159) 2024-10-10 11:59:00 +00:00
PgBiel 2a40eb518c
Fix excluded PDF pages being written (#5133) 2024-10-07 08:23:59 +00:00
Laurenz 60f9f66950
Serialize and Deserialize for `PdfStandard` (#5108) 2024-10-03 19:40:42 +00:00
Laurenz 10eff1d6d5
Tweak default ignorable fix (#5105) 2024-10-03 16:16:44 +00:00
Laurenz 0343e038d3
Fix default ignorables (#5099) 2024-10-03 13:00:58 +00:00
Laurenz a0093ad8a7
Minimal PDF/A support (#5075)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-10-01 09:24:18 +00:00
emilylime 1a24b29d86
Remove `Case`s from NumberingPatterns (#5059) 2024-09-30 15:22:46 +00:00
Laurenz 788ae10a07
PDF export diagnostics (#5073) 2024-09-30 12:43:29 +00:00
Martin Haug ada9650a06
Write the font name for Type 3 fonts (#5070) 2024-09-30 07:54:08 +00:00
Martin Haug 66147979ba
Do not write empty destination name tree root (#5066) 2024-09-30 07:53:23 +00:00
Josh Soref ca1f749c08
Spelling (#5020)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-09-26 17:32:55 +00:00
Bruce Mitchener f283995c3d
Reduce typo count. (#4923) 2024-09-22 12:14:56 +00:00
Sébastien d'Herbais de Thun ecad396cc8
Nuked custom PDF Oklab colorspace code (#4871) 2024-09-02 13:16:33 +00:00
Max cefca7a7d8
Fix typos (#4784) 2024-08-20 15:12:12 +00:00
Laurenz d97d71948e
Fix document set rules (#4768) 2024-08-16 10:53:12 +00:00
Laurenz 9909f12d4f
Bump to Rust 1.80 (#4681) 2024-08-05 10:54:30 +00:00