Guillaume Ayoub
dc3a7541e2
Merge pull request #2364 from Kozea/text-speed
...
Improve text layout heuristics and use layout log attributes
2025-01-26 14:11:01 +01:00
Guillaume Ayoub
1f76d025e4
Improve text layout heuristics and use layout log attributes
...
This change gives amazing speeding results with long texts.
2025-01-25 22:28:46 +01:00
Guillaume Ayoub
43fe329dd0
Merge pull request #2345 from Kozea/small-caps
...
Handle small-caps synthesis
2025-01-24 22:52:53 +01:00
Guillaume Ayoub
7fac29b9b8
Fix documentation references to Stream
2025-01-24 22:51:11 +01:00
Guillaume Ayoub
6f21a24856
Avoid getting font descriptions multiple times
2025-01-24 22:28:37 +01:00
Guillaume Ayoub
37ad2346c2
Don’t set fallback font variant values for Pango < 1.50
...
Other values are ignored anyways by older Pango versions.
2025-01-24 21:50:42 +01:00
Guillaume Ayoub
51aea2ec2c
Merge pull request #2338 from binary-butterfly/custom-metadata
...
custom RDF metadata for PDF/A, especially for Factur-X eInvoices
2025-01-24 20:33:49 +01:00
Guillaume Ayoub
e64c533dcd
Merge pull request #2361 from Kozea/text-decoration
...
Support text-underline-offset and text-decoration-thickness
2025-01-24 20:27:15 +01:00
Guillaume Ayoub
80129e207d
Fix hsl and hwb colors in gradients
...
This commit doesn’t add support for non-sRGB color spaces.
Fix #2360 .
2025-01-24 12:08:38 +01:00
Guillaume Ayoub
d363f3805d
Support text-underline-offset and text-decoration-thickness
2025-01-24 11:59:30 +01:00
Guillaume Ayoub
f992fd5b73
Display warnings for unknown at-rules or parsing errors
2025-01-24 11:50:41 +01:00
Guillaume Ayoub
a52cfe1e0a
Don’t call useless ffi.release
2025-01-24 11:50:41 +01:00
Guillaume Ayoub
8ca413154c
Merge pull request #2358 from tagatac/emoji-align
...
Align png emojis to the surrounding text
2025-01-21 15:22:59 +01:00
David Tagatac
c567ad2f07
Align png emojis to the surrounding text
2025-01-20 07:18:03 -08:00
Guillaume Ayoub
513397ecce
Correctly handle multiple tspans with text-anchor set
...
Fix #2353 .
2025-01-20 12:29:27 +01:00
Guillaume Ayoub
9d1492088e
Fix ignored pointer-events CSS property
2025-01-20 11:59:21 +01:00
Guillaume Ayoub
580e32a4dd
Fix documentation edition link
2025-01-19 18:52:12 +01:00
Guillaume Ayoub
6f8a2f52f2
Add documentation for Factur-X / ZUGFeRD
2025-01-19 18:39:13 +01:00
Guillaume Ayoub
2f70ca3ce1
Call RDF generation function generate_rdf_metadata
2025-01-19 17:38:15 +01:00
Guillaume Ayoub
410ce54560
Store attachment name in list of attachments
2025-01-19 17:38:15 +01:00
Guillaume Ayoub
7e8c018ccd
Allow PDF attachment name to be given explicitly
2025-01-19 17:38:15 +01:00
Guillaume Ayoub
797eb2bd61
Remove types and set default function to generate metadata
2025-01-19 17:38:15 +01:00
Ernesto Ruge
b6d403315a
custom metadata
2025-01-19 17:38:14 +01:00
Guillaume Ayoub
9ec1ca465c
Merge pull request #2352 from Kozea/update-doc
...
Update documentation
2025-01-19 17:37:54 +01:00
Guillaume Ayoub
a367ac4dba
Add more common use cases in documentation
2025-01-16 17:09:09 +01:00
Guillaume Ayoub
93f44d4ec8
Use Furo theme for documentation
2025-01-14 17:16:51 +01:00
Guillaume Ayoub
46a2f3af73
Merge pull request #2350 from noamkush/logging-fix
...
Use setLevel to restore logger level in capture_logs
2025-01-14 13:00:10 +01:00
Noam Kushinsky
366afdfe55
Use setLevel to restore logger level.
2025-01-14 13:48:13 +02:00
Guillaume Ayoub
14f288049d
Remove documentation about unsupported small-caps synthesis
2025-01-12 23:35:24 +01:00
Guillaume Ayoub
60b2f42bfd
Fix links to W3C’s font-variant-alternates specification
2025-01-12 23:35:24 +01:00
Guillaume Ayoub
8ef8d1a331
Allow all font-variant-caps values in font expander
2025-01-12 23:35:18 +01:00
Guillaume Ayoub
ff38addb66
Add tests for font-variant-caps
...
These tests are fragile, as they rely on pixel-perfect rendering. Let’s see if
they work at least on all platforms.
2025-01-12 14:33:44 +01:00
Guillaume Ayoub
fc147ba8a1
Handle small-caps synthesis
...
Fix #123 .
2025-01-12 13:43:38 +01:00
Guillaume Ayoub
ccbfac5bb0
Don’t set running grid and flex children as grid and flex items
2025-01-09 15:59:55 +01:00
Guillaume Ayoub
5f7c4e6ae1
Merge pull request #2341 from Kozea/page-groups
...
Fix page groups
2025-01-09 15:58:20 +01:00
Guillaume Ayoub
61c044f882
Merge pull request #2343 from xavidotron/main
...
Add support for outline-offset CSS property.
2025-01-09 15:58:01 +01:00
Xavid Pretzer
9193822533
Update docs to reflect new support for outline-offset.
2025-01-09 00:43:40 -05:00
Xavid Pretzer
45a39134f2
Add support for outline-offset CSS property.
2025-01-09 00:38:01 -05:00
Guillaume Ayoub
713f8c19c1
Fix page groups
2025-01-07 22:52:25 +01:00
Guillaume Ayoub
0aa0b46219
Fix specificity of :nth(an+b of group) page selector
2025-01-07 08:57:56 +01:00
Guillaume Ayoub
5c95212acd
Fix typo
2025-01-06 23:30:11 +01:00
Guillaume Ayoub
8a777cb2ab
Copy columns when copying tables
...
Backgrounds set on a column are applied to the column cells, and these cells
depend on the page we’re on. If we use the same column object for all pages,
the corresponding cells are only the ones of the last page.
Fix #2296 .
2025-01-05 19:27:51 +01:00
Guillaume Ayoub
2884798331
Merge pull request #2314 from H4kor/main
...
Use CSS 'image-rendering' attribute for images in SVGs
2025-01-05 17:23:37 +01:00
Guillaume Ayoub
f307e98871
Update tested PyPy version
2025-01-04 17:20:14 +01:00
Guillaume Ayoub
2695dce6e8
Remove useless option for coverage
2025-01-04 17:04:39 +01:00
Guillaume Ayoub
93a14096c8
Handle bounding boxes for use tags
...
Fix #2332 .
2024-12-29 23:53:55 +01:00
Guillaume Ayoub
6fb413811c
Fix typo in grid layout
2024-12-26 20:37:25 +01:00
Guillaume Ayoub
603d87c978
Fix local font matching algorithm
...
We want to check that the name in local() is exactly the same as the local
font, not only included in it.
Fix #2335 .
2024-12-20 20:01:06 +01:00
Guillaume Ayoub
d8663f11c9
Don’t mark fonts with glyf table as bitmap fonts
...
The bitmap font detection condition is now close to the original condition
changed in 95d2c37 .
Fix #2328 .
2024-12-16 11:24:23 +01:00
Guillaume Ayoub
2ada586beb
Merge pull request #2329 from kesara/refactor/layout-preferred
...
Refactor text.line_break.get_log_attrs()
2024-12-16 10:03:24 +01:00