Commit Graph

74 Commits

Author SHA1 Message Date
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
Ana Gelez 29af23663d
Support negative dimensions in rectangles (#3807) 2024-04-02 12:17:10 +00:00
Eric Biedert 72c5b42a30
Fix patterns with spacing in PDF (#3793) 2024-04-01 20:37:05 +00:00
frozolotl 0a917aba98
Fix warnings introduced by rust 1.77 (#3754) 2024-03-22 12:35:02 +00:00
Laurenz faca50a240
Final touches (#3678) 2024-03-15 14:47:41 +00:00
Laurenz a2d097686f
Update changelog and roadmap (#3594) 2024-03-09 16:56:56 +00:00
Wenzhuo Liu d927974bb1
fix leaky pdf text stroke (#3580)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-03-09 12:18:42 +00:00
Laurenz 82617a6a3c
Generate PDF ID automatically unless we really have a stable ID (#3591) 2024-03-09 11:55:03 +00:00
Laurenz aace521b56
Bump our crates (#3573) 2024-03-07 16:37:22 +00:00
tingerrr 5a03c818c8
Add `depth` and `offset` field to `heading` (#3038)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-29 08:51:56 +00:00
Laurenz 8d63b0479c
Make use of `is_some_and` where applicable (#3523) 2024-02-28 14:24:50 +00:00
Laurenz e16d3f5a67
Externalize assets (#3515) 2024-02-28 10:06:54 +00:00
Ilia ffd57bf56b
Sort languages when writing XMP metadata for reproducible builds (#3469) 2024-02-23 14:14:07 +00:00
Y.D.X 72d324c5b4
`/Last` in PDF should refer to the last _immediate_ children (#3447) 2024-02-20 13:15:42 +00:00
Y.D.X 394864fd4a
fix: `ToUnicode` in PDF should describe CID instead of GID (#3435) 2024-02-17 12:42:00 +00:00
Laurenz 79e37ccbac
Don't round SVG size (#3415) 2024-02-14 15:07:38 +00:00
Laurenz 601118652d
Share resource dictionary via indirect object instead of inheritance (#3414) 2024-02-14 14:41:46 +00:00
Laurenz 52571dd9ef
Fix named destinations (#3411) 2024-02-14 11:39:55 +00:00
Heinenen f776f0a75f
Named destinations (#2954) 2024-02-12 12:57:31 +00:00
Laurenz Stampfl 11abc1f1e3
Fix PDF export of grayscale image (#3219) 2024-01-25 15:12:31 +00:00
Laurenz 6ac71eeaf7 Add `Page` struct
To get rid of the Meta hack where numbering and things like that are stored in the frame.
2024-01-17 21:53:20 +01:00
Laurenz 7cb257a1ac More consistent naming 2024-01-16 14:52:50 +01:00
Laurenz c2dfbd39a0
Migrate metadata fields out of individual elements (#3200) 2024-01-16 09:24:36 +00:00
Sébastien d'Herbais de Thun 712eaaa5f4
Fix CMYK on gradients (#3142) 2024-01-08 15:53:22 +00:00
Sébastien d'Herbais de Thun c4d9b0c3d8
New performance timings (#3096)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-30 12:36:15 +00:00
Laurenz 67ead94cc2 Fix naming inconsistency for strokes 2023-12-28 13:52:58 +01:00
Martin Haug 3dc4eb6bcd Write annotation flags 2023-12-19 22:45:41 +01:00
Wenzhuo Liu 81ff34d80d
Add stroke for text (#2970) 2023-12-19 10:36:18 +01:00