Commit Graph

101 Commits

Author SHA1 Message Date
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
Florent Michel c4dd6fa062
Adjust the number of color components written to the pdf according to the color space (#4568) 2024-07-22 15:05:22 +00:00
HydroH 1d74c8e8bf
Add `non-zero` and `even-odd` fill rules to `path` and `polygon` (#4580)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-22 14:24:29 +00:00
Y.D.X. 9b001e2112
Use texts of the first occurrences for `/ToUnicode` CMap (#4585) 2024-07-20 14:13:06 +00:00
Laurenz 0c37a2c233
Support transparent page fill (#4586)
Co-authored-by: Martin Haug <mhaug@live.de>
2024-07-20 12:51:24 +00:00
Eric Biedert ac322e342b
Save and restore graphics state for every frame (#4496)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-07-14 14:02:50 +00:00
Laurenz 45366c0112
Bump Rust in CI (#4445) 2024-06-24 20:11:11 +00:00
Laurenz 0d93ccd4bf
Compress CMaps (#4406) 2024-06-16 10:05:13 +00:00
Laurenz Stampfl feedfe80cb
Improve subsetting (#4373)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-16 09:38:33 +00:00
Laurenz 7fa86eed0e
Basic multi-threading (#4366) 2024-06-10 13:28:40 +00:00
Laurenz 8f7ba8d495
Bump SVG & PDF cinematic universe (#4316) 2024-06-06 15:30:49 +00:00
Ana Gelez 9afd247534
Fix emoji advance in PDF export (#4325) 2024-06-03 10:17:04 +00:00
Ana Gelez 2946cde6fa
Refactor PDF export (#4154)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-05-29 13:01:11 +00:00
Laurenz a52987a8c2
Refactor frame metadata into tags (#4212) 2024-05-22 09:26:03 +00:00
Laurenz 95cd6adf24
Factor out `typst-utils` crate (#4125) 2024-05-13 15:25:43 +00:00
PgBiel 7905de67bc
Add parameter to select pages to be exported by CLI (#4039) 2024-05-10 14:47:02 +00:00
Ana Gelez 0bb45b335f
Fix subset tag for color fonts (#3960) 2024-04-19 14:33:49 +00:00
Ana Gelez 21c78abd6e
Emojis in PDF (#3853) 2024-04-17 15:11:20 +00:00
Laurenz 020294fca9
Better test runner (#3922) 2024-04-13 08:39:45 +00:00
Gabriel Araújo 0b9878ed31
Fix wrong PDF page labels (#3836) (#3837) 2024-04-03 08:39:47 +00:00
Laurenz b3615ccd49
A few CI and crate config changes (#3852) 2024-04-02 14:16:44 +00:00