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
Pg Biel
f88ef45ee6
Function scopes ( #1032 )
2023-05-03 14:20:53 +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
ae4accc071
Fix alignment of list markers & enum numbers ( #988 )
2023-04-26 10:03:34 +02:00
Peng Guanwen
480ad7670b
More Chinese punctuation adjustment ( #836 )
...
and also general linebreak improvements
2023-04-17 18:20:59 +02:00
Peng Guanwen
ff16f3fb37
Refine linebreak algorithm for better Chinese justification ( #701 )
2023-04-13 10:44:39 +02:00
Laurenz
4ba3b9da80
Fix block sizing test
2023-04-06 15:49:40 +02:00
Pg Biel
ca71081d05
Add 'layout' function to obtain the size of the outer container ( #557 )
2023-04-06 15:36:36 +02:00
Laurenz
a73149767c
Fix block child spacing
2023-04-06 15:13:26 +02:00
Laurenz
4f4af02ace
Fix path and polygon strokes
2023-04-06 12:58:27 +02:00
Laurenz
f9b9be16f9
Fix box and block sizing
2023-04-06 12:26:39 +02:00
Laurenz
e13c72b301
Fix first line indent with styled text
2023-04-05 00:15:51 +02:00
Alex Sayers
2c735294cd
Improve justification of Chinese/Japanese text ( #542 )
2023-04-03 15:56:23 +02:00
Laurenz
b469f30c83
Fix block spacing
2023-04-02 19:47:42 +02:00
Birk Tjelmeland
ed79ecbb44
Add support for cliping content in block
and box
( #431 )
2023-04-01 16:04:38 +02:00
Chris Ohk
418bd89ba4
Correct minor typos ( #474 )
2023-03-31 16:51:12 +02:00
Laurenz
e83e05d541
Term list separator changes
2023-03-27 22:31:29 +02:00
Laurenz
a5c88c19b3
Fix enum parsing and allow zero in numberings
...
Fixes #353 .
2023-03-27 12:12:57 +02:00
Laurenz
b934a2fd83
Embed standard fonts in binary
2023-03-21 23:18:56 +01:00
Laurenz
ab43bd802e
Renaming and refactoring
2023-03-19 22:39:19 +01:00
Laurenz
312197b276
Counters
2023-03-17 11:45:57 +01:00
Laurenz
2bacbaf2bd
Hanging indent
2023-03-14 22:30:21 +01:00
Laurenz
902c2ea121
Fix y offset in shaper
2023-03-10 14:25:04 +01:00
Laurenz
7597b99789
New default style
2023-02-25 20:04:30 +01:00
Laurenz
cc9b52ddd4
Better table lines
2023-02-14 12:08:05 +01:00
Laurenz
28b5c55cd5
Configurable markers for nested lists
2023-02-13 17:15:20 +01:00