Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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