152 Commits

Author SHA1 Message Date
PgBiel
443cf60ae2
Ensure hline/vline positioning respects colspan/rowspan (#3610) 2024-03-11 10:32:44 +00:00
PgBiel
288f7da4d0
Small fixes for table line priority in headers/footers (#3602) 2024-03-11 10:24:51 +00:00
PgBiel
639a8d0dc0
Repeatable Table Footers [More Flexible Tables Pt.6a] (#3577)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-03-09 15:48:48 +00:00
PgBiel
898367f096
Repeatable Table Headers [More Flexible Tables Pt.5a] (#3545) 2024-03-06 08:41:16 +00:00
A-Walrus
b005dc37e5
Fix BiDi bug with mixed explicit dir in paragraph (#3532)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-03-04 09:47:38 +00:00
Peng Guanwen
086bca9576
Fix JIS style punctuation (#3543) 2024-03-04 09:02:25 +00:00
PgBiel
decb4fd9b9
Merging cells: Rowspans [More Flexible Tables Pt.3b] (#3501) 2024-03-03 19:32:27 +00:00
PgBiel
a8671962d6
Some table improvements [More flexible tables] (#3473) 2024-02-22 08:42:10 +00:00
PgBiel
4873312233
Table line customization [More Flexible Tables Pt.4] (#3393) 2024-02-20 15:41:43 +00:00
Laurenz
71ed779599
Fix terms show rule (#3325) 2024-02-04 11:25:28 +00:00
PgBiel
cd71741532
Merging cells: Colspans [More Flexible Tables Pt.3a] (#3239) 2024-01-25 15:35:10 +00:00
PgBiel
21585e03cf
Table cell x and y fields [More Flexible Tables Pt.2b] (#3050) 2024-01-17 15:52:28 +00:00
Wenzhuo Liu
cc1f974164
Partially fix hide for line, polygon, table, grid (#3139) 2024-01-09 08:12:08 +00:00
PgBiel
8fa573a9a2
Initial table per-cell customization [More Flexible Tables Pt.2a] (#3037)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-01-05 19:30:07 +00:00
PgBiel
111a69f6aa
Grid and Table API Unification [More Flexible Tables Pt.1] (#3009) 2023-12-19 10:28:41 +01:00
Emmett Rayes
6808e58a3b
Cycle list markers by default (#2788)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-18 18:25:28 +01:00
Malo
356bdeba18
Do not create a block frame for out-of-flow items only (#2517) 2023-12-18 11:37:30 +01:00
Sébastien d'Herbais de Thun
231b96e5cf
Make layout account for transforms (#2555) 2023-12-13 12:44:28 +01:00
Jakob Sachs
219c1c9ed0
Added vertical number alignment to enum (#2742)
Fixes #2441
2023-11-27 11:12:04 +01:00
Anton Wetzel
ba05164bb6
Change rectangle clip to use the inside of the stroke, not the middle. (#2626) 2023-11-08 15:30:00 +01:00
Peng Guanwen
4a7d3585d9
Improve reshape condition (#2547) 2023-11-06 21:43:15 +01:00
Fritz Rehde
c3114fa380
Fixed typos (#2524) 2023-10-30 23:25:28 +01:00
Francisco J. Sanchez
c29a31b6c5
Fix pagebreak.to check (#2475) 2023-10-25 17:16:34 +02:00
Wenzhuo Liu
b97ee93b8f
Support adjustment of more CJK punctuation (#2456) 2023-10-22 13:45:51 +02:00
Peng Guanwen
e4d9db83ea
Automatically add spacing between CJK and Latin characters (#2334) 2023-10-17 11:14:09 +02: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
HydroH
7b61d722dd
Adjust table inset behavior to the same as container's (#1979) (#2323) 2023-10-09 15:52:04 +02:00
MALO
0804a9e25d
Use/allow U+2212 MINUS SIGN instead of U+002D HYPHEN MINUS everywhere (#2318) 2023-10-09 15:30:40 +02:00
Eric Biedert
c8ebcd70d6
Resolve spacing before comparing (#2235) 2023-09-26 11:42:05 +02:00
Peng Guanwen
50f354e989
Correct the consecutive hyphen cost (#2190)
This just fixes a mistake previously made. `0.3` is the correct number that is proportional to the parameters in Knuth's paper. The previously choosed value `300` is due to my calculation mistake and is too large that essentially prevent any consecutive hyphens.
2023-09-19 17:05:32 +02:00
Eric Biedert
13758b9c97
Allow multiple fallback fonts in SVGs (#2122) 2023-09-19 10:28:50 +02:00
Laurenz Stampfl
a5e39d814c
Update to usvg 0.35 (#2113) 2023-09-13 16:41:45 +02:00
Laurenz
ff2650373c Fix floating placement within containers
Fixes #1879
2023-09-13 15:26:23 +02:00
Laurenz
b76e8d5db9 Interpret vertical page number alignment differently
The vertical alignment of `number-align` now selects header or footer instead of aligning within the footer. This is a minor breaking change because
- top behaves differently now
- horizon is now forbidden
- bottom (the new default) behaves differently, too
Typical number-align usage will likely not use the vertical component at all, though.

Fixes #645
2023-09-06 10:32:54 +02:00
bluebear94
499c5f2444
Fix improper line wrapping in the presence of medial newlines (#2056)
Fixes #2019.
2023-09-04 11:46:17 +02:00
Laurenz
8c9c959f4f Rename test
The name `empty` shall not appear in any test but `empty.typ`.
2023-09-01 11:48:57 +02:00
Beiri22
e1558268f9
Introduce second variant of Ignorant Behaviour and prevent weak page breaks at basically empty pages (#1929) 2023-08-30 12:58:16 +02:00
bluebear94
b59b8bfb35
linebreak_optimized: Handle breakpoints separated only by spaces (#1821) 2023-08-23 13:39:22 +02:00
Matt Fellenz
f56060c1b3
Penalize runts (#1858) 2023-08-08 11:27:15 +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
Laurenz
78f96f844b Basic floating placement 2023-07-10 18:16:59 +02:00
damaxwell
9eb350d7de
support optical sizes for script/scriptscript when available (#1580) 2023-06-26 13:51:27 +02:00
Tom Binford
fa42a26f6f
Improve image rendering under rotation when exporting to PNG (#1547) 2023-06-24 14:28:02 +02:00
Zachary Capalbo
19bf1f5894
Clear page to Even Or Odd (#1427)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-12 14:28:25 +02:00
Luis David Licea Torres
3284e7fac7
Support for inside and outside margins (#1308)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-06-12 12:46:34 +02:00
Peng Guanwen
a54cde71cb
Bugfix of CJK punctuation adjustment (#1384) 2023-06-01 15:14:56 +02:00
jassler
fd84d23ade
Support for align parameter in table to take an array (#1087) (#1149) 2023-05-12 12:26:14 +02:00
Pg Biel
1a6224f566
Default enum number alignment to 'end' (#1042) 2023-05-11 16:36:41 +02:00
Peng Guanwen
d19a4124de
Implement sophisticated CJK punctuation adjustment (#954) 2023-05-11 15:02:52 +02:00