64 Commits

Author SHA1 Message Date
Matt Fellenz
f56060c1b3
Penalize runts (#1858) 2023-08-08 11:27:15 +02:00
Laurenz
07c80e9a81 Touch up docs 2023-08-07 15:58:16 +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
fa9e2c6237 Resolve place deltas relative to real container size 2023-07-19 12:59:34 +02:00
Laurenz
3dcd8e6e6b
Positions placed elements relative to real container size (#1745)
This positions placed elements relative to the real container size instead of relative to the base size of the region. This makes its usage more versatile.

Fixes #82
Fixes #685
Fixes #1705
2023-07-19 12:53:36 +02:00
damaxwell
8a57395ee4
Support OpenType writing script (#1697) 2023-07-19 12:25:24 +02:00
Pg Biel
9b1a2b41f0
Add fields and methods to several primitives (#790) 2023-07-11 16:11:18 +02:00
Laurenz
78f96f844b Basic floating placement 2023-07-10 18:16:59 +02:00
T0mstone
46a6f92bf3
Add alternative smartquotes (#1631) 2023-07-06 13:52:24 +02:00
Sébastien d'Herbais de Thun
07553cbe71
Raw syntax definition loading (#1655) 2023-07-06 13:51:28 +02:00
Shogo Takata
dca56a8028
Add Japanese translation for LocalName (#1662) 2023-07-06 09:59:06 +02:00
lolstork
286dec3f0a
Make default margin behavior more precise (#1666) 2023-07-06 09:38:04 +02:00
raphCode
8711b5eeed
Clarify docs: Weak spacings eat markup space (#1648)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-07-05 12:54:33 +02:00
Laurenz
ebfdb1dafa Move everything into crates/ directory 2023-07-02 20:07:43 +02:00