19 Commits

Author SHA1 Message Date
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
Tom Binford
fa42a26f6f
Improve image rendering under rotation when exporting to PNG (#1547) 2023-06-24 14:28:02 +02:00
Martin Haug
17cef8dcee
Add ICC profiles to images in PDF and update usvg, svg2pdf (#822) 2023-05-02 13:53:20 +02:00
Pg Biel
e9a0cf9741
Fix 0pt strokes (#923) 2023-04-23 14:38:12 +02:00
Johannes Wolf
981c578ff9
path: Use close_path() for closing paths (#801) 2023-04-19 16:30:27 +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
Laurenz
74fce3fc78 Fix square sizing
Fixes #85.
2023-04-11 16:26:26 +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
7597b99789 New default style 2023-02-25 20:04:30 +01:00
Laurenz
3ffa7393f0 Make all nodes block-level 2023-02-12 19:57:28 +01:00
Laurenz
ebbee6274c Fix square base 2023-02-12 16:38:18 +01:00
Laurenz
6260878245 Let line have an extent 2023-02-12 15:01:40 +01:00
Laurenz
fe1f440069 Clamp shape radii 2022-12-30 10:07:46 +01:00
Laurenz
31f904a2c4 Split up and document shapes 2022-12-21 16:19:46 +01:00
Laurenz
0efe669278 Reorganize library and tests 2022-11-29 14:18:13 +01:00