40 Commits

Author SHA1 Message Date
Eric Biedert
64d3fd8a3f
Add missing gradient to stroke cast (#2527) 2023-10-30 22:24:39 +01:00
Sébastien d'Herbais de Thun
a59666369b
Part 5a: Gradients on text with relative: auto or relative: "parent" (#2364) 2023-10-12 18:03:52 +02:00
Sébastien d'Herbais de Thun
cef2d3afca
Gradient Part 4 - Conic gradients (#2325) 2023-10-10 11:29:05 +02:00
Sébastien d'Herbais de Thun
e7443abfe6
Gradient Part 3 - Radial gradients (#2312) 2023-10-06 16:47:20 +02:00
Sébastien d'Herbais de Thun
57bc614cf4
Gradient Part 2a - Fix sharp gradients in SVG (#2307) 2023-10-04 10:58:17 +02:00
Sébastien d'Herbais de Thun
a4e357fb37
Gradient Part 2 - Linear gradients (#2279) 2023-10-03 19:31:02 +02:00
Anton Wetzel
98e5d97509
Better rect edges (#1956) 2023-09-25 13:54:58 +02:00
Eric Biedert
13758b9c97
Allow multiple fallback fonts in SVGs (#2122) 2023-09-19 10:28:50 +02:00
Laurenz
921b40cf9c Forward third-party errors
Better to know something even if it isn't always formatted in the prettiest way
2023-09-11 12:04:37 +02:00
Reid Johnson
5c1db0c4b8
Add regular polygons to visualize (#1215) 2023-08-31 09:51:00 +02:00
Beiri22
e3115336bf
Decode image (#1810) 2023-08-05 13:58:28 +02:00
bluebear94
c5a103867d
layout::par::finalize: Bound allotted width when fitting to width (#1828)
Sometimes, optimized line breaking outputs lines that are wider
than the allotted width so that spacing between words can be
narrowed to fit. However, the width calculation for the fit-to-width
case does not account for this, causing the resulting width to exceed
the width of the region. This commit takes the minimum of the
calculated width with the width of the region. Fixes #1825.
2023-08-03 00:45:40 +02:00
Laurenz
04bffc4f12 Reintroduce --root 2023-06-28 10:36:53 +02:00
Laurenz
7b92bd7c34 Basic package management 2023-06-27 18:40:17 +02:00
Laurenz
fd417da04f Improve value casting infrastructure 2023-06-06 22:06:16 +02:00
Laurenz
3680c854a2 Touch up docs 2023-04-26 15:37:21 +02:00
Pg Biel
e9a0cf9741
Fix 0pt strokes (#923) 2023-04-23 14:38:12 +02:00
Martin Haug
2a682f0008
Add alt text to image function and PDF (#823) 2023-04-20 11:23:03 +02:00
Johannes Wolf
981c578ff9
path: Use close_path() for closing paths (#801) 2023-04-19 16:30:27 +02:00
Leedehai
dc3017955a
Give more specific error messages (#881) 2023-04-19 13:26:55 +02:00
Laurenz
35302d2004 Handle SVG with text 2023-04-18 19:04:46 +02:00
Birk Tjelmeland
d1cd814ef8
Add support for more complex strokes (#505) 2023-04-13 16:05:56 +02:00
Marmare314
0f8219b392
Unpacking syntax (#532)
Closes #341
2023-04-06 15:26:09 +02:00
Laurenz
4f4af02ace Fix path and polygon strokes 2023-04-06 12:58:27 +02:00
SekoiaTree
52b92a9d35
Path support (#536) 2023-04-06 12:10:49 +02:00
Laurenz
d1ff94a3b5 A bit more polygon docs 2023-03-28 17:00:02 +02:00
Olle Lögdahl
44165d09a9
Add polygon drawing primitive (#314) 2023-03-28 16:43:16 +02:00
Laurenz
1b2b53ecb9 Require font to be a named argument 2023-03-08 10:44:24 +01:00
Laurenz
028632a3a1 Fix error handling after hashtag 2023-02-17 16:32:48 +01:00
Laurenz
7b2cdb9d95 Require colon in show rule 2023-02-12 20:25:24 +01:00
Laurenz
3ffa7393f0 Make all nodes block-level 2023-02-12 19:57:28 +01:00
Laurenz
6260878245 Let line have an extent 2023-02-12 15:01:40 +01:00
Laurenz
ec05ed7e06 Move assets 2023-01-31 15:05:42 +01:00
Laurenz
a8fd64f928 Hashtags everywhere! 2023-01-27 11:54:30 +01:00
Laurenz
fe1f440069 Clamp shape radii 2022-12-30 10:07:46 +01:00
Laurenz
038f9b015e Document line function 2022-12-21 16:32:14 +01:00
Laurenz
31f904a2c4 Split up and document shapes 2022-12-21 16:19:46 +01:00
Laurenz
b6202b646a Reflection for castables 2022-12-15 23:11:20 +01:00
Laurenz
cd089b6194 Align set rule 2022-12-09 10:21:11 +01:00
Laurenz
0efe669278 Reorganize library and tests 2022-11-29 14:18:13 +01:00