48 Commits

Author SHA1 Message Date
Laurenz
aace521b56
Bump our crates (#3573) 2024-03-07 16:37:22 +00:00
Laurenz
1d32145319
DPI-based natural sizing for images (#3571) 2024-03-07 15:05:52 +00:00
Laurenz
e16d3f5a67
Externalize assets (#3515) 2024-02-28 10:06:54 +00:00
Laurenz
145723b1ef
New context system (#3497) 2024-02-27 10:05:16 +00:00
Sébastien d'Herbais de Thun
d0dd81cddf
Added LazyHash (#3451)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-02-21 08:40:13 +00:00
Laurenz
b89348b92a
Read EXIF data and apply image rotation (#3413) 2024-02-14 14:12:28 +00:00
Martin Haug
9f1e0390c1
Add color-managed CMYK to RGB conversion (#3288) 2024-02-12 13:03:36 +00:00
Peng Guanwen
464a15bdca
Introduce override list to FontInfo (#3228) 2024-02-01 13:45:33 +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
CosmicHorror
56159997b7
Switch to two-face for extra syntect syntaxes (#2937) 2023-12-18 13:17:47 +01:00
Laurenz
f16a9ea9ad Drop dependency on DashMap
DashMap doesn't work in multi-threaded WebAssembly in Safari: https://bugs.webkit.org/show_bug.cgi?id=265581
2023-11-30 18:31:56 +01:00
Sébastien d'Herbais de Thun
5bdec9e1d8
Optimized labels & introspector (#2801)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-11-30 12:57:04 +01:00
Laurenz
713cde1136 Make workspace inheriting consistent 2023-11-27 16:54:55 +01:00
danieleades
e36a18b991
Use clippy workspace lints and inline format args (#2771) 2023-11-27 11:34:14 +01:00
Laurenz
7eebafa783 Merge typst and typst-library 2023-11-24 12:30:02 +01:00
Sébastien d'Herbais de Thun
f5b3af3c1b
Parallel image encoding (#2693) 2023-11-17 19:42:49 +01:00
Laurenz
46846a337e Extract typst-pdf crate 2023-11-08 15:09:55 +01:00
Laurenz
80b4ca4c04 Extract typst-svg crate 2023-11-08 13:21:47 +01:00
Laurenz
ec04c3de2f Extract typst-render crate 2023-11-08 13:16:13 +01:00
Laurenz
4794bd35fa Switch to workspace dependencies 2023-11-08 12:56:35 +01:00
Sébastien d'Herbais de Thun
c0f6d2004a
Content rework 2 - Electric Boogaloo (#2504) 2023-11-06 21:37:50 +01:00
Charlie Moog
b716700b61
Derive PDF instance id from content hash (#2552) 2023-11-02 11:12:07 +01:00
Laurenz
e686a11ae7 Bump dependencies 2023-10-25 17:39:40 +02:00
Laurenz
a7fbe5151e Bump pdf-writer
Fixes #2397
2023-10-24 15:23:04 +02:00
SekoiaTree
7f185f21e0
Add date to document (#2371) 2023-10-22 13:29:48 +02:00
Laurenz
2a19e7f4dc Bump ecow 2023-10-09 15:00:07 +02:00
Laurenz
7dc74b7281 Bump pdf-writer and svg2pdf 2023-10-04 14:40:28 +02:00
Sébastien d'Herbais de Thun
a4e357fb37
Gradient Part 2 - Linear gradients (#2279) 2023-10-03 19:31:02 +02:00
Laurenz
d7928a8ea3 Extract IDE crate 2023-09-26 17:12:18 +02:00
Sébastien d'Herbais de Thun
163c2e1aa2
Gradient Part 1 - Color rework (#2171) 2023-09-19 15:48:33 +02:00
Laurenz
f15b81e9a7 Bump svg2pdf 2023-09-14 14:43:11 +02:00
frozolotl
c203eff9f4
Allow typst package to compile by itself (#2130) 2023-09-13 20:37:17 +02:00
Laurenz Stampfl
a5e39d814c
Update to usvg 0.35 (#2113) 2023-09-13 16:41:45 +02:00
Laurenz
f9feea3f29 Bump dependencies 2023-09-13 14:44:45 +02:00
Laurenz
b471ac7d59 First-class types
Makes types first-class values.
2023-09-11 14:40:22 +02:00
Laurenz
c0b332a4c0 Font embedding fixes
- Subset prefix based on hash instead of hardcoded
- Fix base font name of Type0 font
- Embed CFF directly as standalone font

Co-Authored-By: Martin Haug <mhaug@live.de>
2023-09-01 13:56:45 +02:00
Beiri22
22b5959608
separate decode from string/bytes for all data functions; and encode for json, toml, yaml via serde (#1935) 2023-08-25 14:31:03 +02:00
Laurenz
522708b9df Set new minimum serde version
1.0.184 does not ship with a precompiled binary anymore
2023-08-21 21:49:14 +02:00
astrale-sharp
99ddbafc09
Wasm plugin system (#1555) 2023-08-21 15:17:16 +02:00
Laurenz
3ab179ebd3 Restrict serde version 2023-08-19 20:06:01 +02:00
Wenzhuo Liu
61e4ad6bba
Add SVG export (#1729) 2023-08-08 12:54:13 +02:00
Laurenz
ea834d9d1d Bump pdf-writer and svg2pdf 2023-08-07 16:59:15 +02:00
Beiri22
357bce56f5
Query-System for metadata (#1812)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-08-06 23:49:04 +02:00
Laurenz Stampfl
8e200c356c
Enable feature raster images to resvg (#1786) 2023-07-24 22:17:49 +02:00
Laurenz
b2e58f7207 Bump svg2pdf
Co-Authored-By: Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com>
2023-07-21 23:58:00 +02:00
Laurenz
f5953887c9 Extract syntax module into typst-syntax crate 2023-07-18 21:04:46 +02:00
Lynn
9a9da80665
Color mixing function (#1332)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-07-05 11:26:50 +02:00
Laurenz
ebfdb1dafa Move everything into crates/ directory 2023-07-02 20:07:43 +02:00