29 Commits

Author SHA1 Message Date
Laurenz
be7cfc85d0
Split out four new crates (#5302) 2024-10-27 18:04:55 +00:00
Laurenz
7eebafa783 Merge typst and typst-library 2023-11-24 12:30:02 +01:00
Dimitri Kokkonis
897447e859
Translate local names to Greek (#2684)
Additionally, add support for single and double quotes in Greek.
2023-11-14 15:59:30 +01:00
Andrew Voynov
a44141be2e
Changed default image Russian supplement to short form (#2637) 2023-11-11 10:46:25 +01:00
MALO
13f1a4386f
Improve French and Chinese localization for figures (#2542) 2023-11-10 17:17:39 +01:00
Laurenz
7f0fcda376 Move some things out of util 2023-11-08 23:42:45 +01:00
Joseph Wilson
2ce9d76025
Add constructor for stroke. (#2518) 2023-11-08 11:08:38 +01:00
Sébastien d'Herbais de Thun
c0f6d2004a
Content rework 2 - Electric Boogaloo (#2504) 2023-11-06 21:37:50 +01:00
Fritz Rehde
c3114fa380
Fixed typos (#2524) 2023-10-30 23:25:28 +01:00
Sébastien d'Herbais de Thun
9bca0bce73
Fix clipping when a box/block has a radius (#2338) 2023-10-10 11:51:22 +02:00
bluebear94
6bb776029e
Fix crashes with infinite lengths (part 2) (#2298) 2023-10-05 10:26:36 +02:00
Sébastien d'Herbais de Thun
a4e357fb37
Gradient Part 2 - Linear gradients (#2279) 2023-10-03 19:31:02 +02:00
DVDTSB
e84cd13ce7
initial Romanian support (#2246) 2023-09-28 11:15:45 +02:00
Laurenz
ffcd951bc8 Refactor image handling 2023-09-27 12:20:29 +02:00
FlyinPancake
44bbfded5f
feat: inital Hungarian language support (#2229) 2023-09-25 13:52:26 +02:00
Eric Biedert
13758b9c97
Allow multiple fallback fonts in SVGs (#2122) 2023-09-19 10:28:50 +02:00
Laurenz
b471ac7d59 First-class types
Makes types first-class values.
2023-09-11 14:40:22 +02:00
Laurenz
073effc740 Fix font family mismatch between Typst and usvg
Fixes #2051
2023-09-09 22:33:17 +02:00
Reid Johnson
5c1db0c4b8
Add regular polygons to visualize (#1215) 2023-08-31 09:51:00 +02:00
Kevin K
bcab770524
Fix typo in docs of decode method for image (#2046) 2023-08-30 17:31:30 +02:00
Laurenz
a71a2057f2 More type safety for spans 2023-08-29 17:35:35 +02:00
Kivi Kaitaniemi
139328bb95
Add Finnish translations (#1996) 2023-08-25 14:32:11 +02:00
Kingfree
287556bc14
Local names for Chinese and Traditional Chinese (#1919) 2023-08-20 12:09:16 +02:00
Laurenz
07c80e9a81 Touch up docs 2023-08-07 15:58:16 +02:00
Beiri22
e3115336bf
Decode image (#1810) 2023-08-05 13:58:28 +02:00
Laurenz
b8b0137504 Bytes type
- Moves `Bytes` from `util` to `eval` module
- Accepts bytes in `str` function for bytes -> str conversion
- Adds `bytes` function for str | array -> bytes conversion
- Adds `array` function for bytes -> array conversion
- Adds `len`, `at`, and `slice` methods for bytes
- Adds `encoding` parameter to `read` function
2023-08-04 15:46:46 +02:00
Pg Biel
9b1a2b41f0
Add fields and methods to several primitives (#790) 2023-07-11 16:11:18 +02:00
Shogo Takata
dca56a8028
Add Japanese translation for LocalName (#1662) 2023-07-06 09:59:06 +02:00
Laurenz
ebfdb1dafa Move everything into crates/ directory 2023-07-02 20:07:43 +02:00