Luke Lau
95470a9ce8
🐛 Remove nested_shadows, and fix double group shadows on text ( #13280 )
...
* 🔧 Add a render test for group shadows on nested text
The snapshot records the shadow of a group on the texts and shapes
inside it, as rendered today. Stroked text gets the shadow twice (G, I,
J, L) or partly twice (H, K), while plain text (B to F) gets it once.
The next commit fixes this and updates the snapshot.
AI-assisted-by: claude-opus-5-5
* 🐛 Remove nested_shadows, and fix double group shadows on text
The nested_shadows state is only used by text shapes to draw drop
shadows that it inherits from its parents. There's a bug where only
groups pushed onto the stack but both groups and frames popped it.
But when trying to fix this I noticed that
`render_drop_shadow_child_silhouettes` will already render the text
shapes shadow in the parent. So compared to the SVG renderer we were
applying the shadows twice.
We can just remove the stack and let the parent render the shadow
once, which brings text in line with other shapes. In the render
test, stroked text now gets the shadow once (G to L).
There's some other divergences from the SVG renderer in
`render_drop_shadow_child_silhouettes` to do with non-flattened
containers, which text shapes will now be exposed to. I hope to post a
PR after this to address these.
AI-assisted-by: claude-opus-5-5
2026-11-25 10:36:05 +01:00
Elena Torró
0913545b41
🐛 Fix letter spacing and position when flattening text to path ( #11555 )
...
* 🐛 Fix letter spacing and position when flattening text to path
* ♻️ Simplify text to path conversion and add flatten tests
2026-09-11 08:20:22 +02:00
Elena Torró
9b24907992
🐛 Fix render text-decoration on spans and update regression tests ( #11583 )
2026-09-10 09:42:09 +02:00
Elena Torró
7b135b80b2
🐛 Fix background blur clipping ( #11532 )
2026-09-07 15:51:27 +02:00
Elena Torró
4383cf183a
✨ Add background blur to strokes ( #10716 )
2026-07-22 17:07:16 +02:00
Elena Torro
001dba1bef
✨ Add background blur to text shapes
2026-07-16 08:33:36 +02:00
Alejandro Alonso
99638fa60c
🐛 Fix wasm render playwright tests ( #10462 )
...
* 🐛 Fix playwright wasm test for updating canvas background
* 🐛 Fix playwright wasm test for rendering blurs
* 🐛 Fix invisible emoji texts in render-wasm playwright data
2026-06-29 17:03:45 +02:00
Eva Marco
2a098e5b16
🎉 Add background blur ( #10034 )
...
* 🎉 Add background blur
* 🎉 Add test
* 🎉 Add background blur info to plugins API
* 🎉 Suport in wasm for both layer and background blur
* 🐛 Fix failing test
* ♻️ Fix comments
---------
Co-authored-by: alonso.torres <alonso.torres@kaleidos.net>
2026-06-16 19:46:03 +02:00
Elena Torro
96722fde4b
🐛 Support EvenOdd SVG attribute across all path operations
2026-04-23 12:02:40 +02:00
Alejandro Alonso
6403c8deee
🐛 Fix inset child clip for frames with inner stroke
2026-03-26 13:33:15 +01:00
Elena Torro
5ba53f7296
🎉 Add background blur for wasm render
2026-03-18 17:43:27 +01:00
Elena Torro
e72e2bf176
🐛 Fix stroke closing on outer strokes on paths
2026-03-12 09:02:37 +01:00
Alejandro Alonso
ecf525e094
Merge pull request #8576 from penpot/elenatorro-13619-fix-svg-inner-stroke-artifact
...
🐛 Fix inner stroke intersection on paths
2026-03-12 08:20:21 +01:00
Elena Torro
70dd46f8ce
🐛 Fix inner stroke intersection on paths
2026-03-10 16:08:55 +01:00
Elena Torró
5a1461a910
Merge pull request #8563 from penpot/superalex-fix-negative-insets
...
🐛 Fix negative insets
2026-03-10 15:08:39 +01:00
Alejandro Alonso
0f34677ba7
🐛 Fix negative insets
2026-03-10 12:42:08 +01:00
Alejandro Alonso
024f779cab
🐛 Fix text stroke opacity causing different colors on overlapping glyphs
2026-03-10 12:36:53 +01:00
Alejandro Alonso
9fa027c1df
🐛 Fix blur affecting extra shapes
2026-03-03 08:48:43 +01:00
Alejandro Alonso
e2b5f936f5
🐛 Fix stroke artifacts
2026-02-25 11:27:05 +01:00
Alejandro Alonso
a7ab506c5c
🐛 Fix blur 0 artifacts
2026-02-20 13:37:27 +01:00
Alejandro Alonso
0b2dfe7297
🐛 Fix grouped component shadow
2026-02-17 08:19:37 +01:00
Elena Torro
fd6f70a740
🐛 Fix absolute z-index values on layout children
2026-02-13 11:41:16 +01:00
Elena Torro
4ed1a544f8
🐛 Fix stroke color aliasing when a shape has multiple strokes
2026-02-12 06:43:52 +01:00
Elena Torro
eede023d6b
🐛 Fix fill aliasing when a shape has multiple fills
2026-02-11 11:21:08 +01:00
Alejandro Alonso
6f74d458a8
🐛 Adding lost file for render e2e testing get-file-stroke-styles.json
2026-02-11 10:47:50 +01:00
Alejandro Alonso
f32c377f17
🐛 Fix stroke opacity for boards
2026-02-11 09:08:03 +01:00
Elena Torro
8d1bc6c50c
🐛 Fix flex layout sorting on reverse order with no z-index
2026-01-27 09:34:36 +01:00
Alejandro Alonso
c60d74df62
🐛 Fix nested frames border clipping
2026-01-14 11:10:03 +01:00
Alejandro Alonso
62ec66cd15
🔧 Adding more e2e tests for nested frames with clipping
2025-11-27 12:23:46 +01:00
Alejandro Alonso
77b9eee6bd
🐛 Fix svg fills defined in svg-attrs with url or color format
2025-11-21 14:15:27 +01:00
Alejandro Alonso
24745bed40
🐛 Fix shadows and blurs for high levels of zoom
2025-11-20 11:25:23 +01:00
Elena Torro
127fa931c7
🐛 Fix new lines spacing between paragraphs
2025-11-14 12:00:39 +01:00
Aitor Moreno
4a887840c6
Merge pull request #7737 from penpot/sueralex-fix-shadows-clipping
...
🐛 Fix shadows clipping
2025-11-12 16:58:06 +01:00
Elena Torró
10cf2c7f35
Merge pull request #7729 from penpot/ladybenko-12514-fix-font-variants
...
🐛 Fix downloading wrong font variant
2025-11-12 15:30:08 +01:00
Belén Albeza
0b3fc6a663
🔧 Fix broken playwright tests (wasm render)
2025-11-12 14:48:31 +01:00
Alejandro Alonso
33da6fbec2
🐛 Fix shadows clipping
2025-11-12 11:47:53 +01:00
Elena Torro
1b50c13c4d
🐛 Render shadows on nested shapes
2025-11-10 14:13:49 +01:00
Alejandro Alonso
b2a9c55874
Merge pull request #7674 from penpot/elenatorro-12478-fix-new-lines
...
🐛 Fix new lines issues
2025-11-05 10:13:41 +01:00
Elena Torro
564ad8adba
🐛 Fix children blur rendering
2025-11-04 15:37:49 +01:00
Elena Torro
24e4ece323
🐛 Fix line-height rendering on empty lines
2025-11-04 11:25:14 +01:00
Elena Torro
d18a018236
🔧 Fix tab rendering with the text editor
2025-11-03 11:02:28 +01:00
Alejandro Alonso
c3d40659a9
Merge pull request #7600 from penpot/elenatorro-12344-fix-different-text-span-font-sizes
...
🔧 Add support for text spans of different sizes
2025-10-29 07:25:49 +01:00
Alejandro Alonso
14d5de29da
🐛 Fix nested fills for shapes with svg attrs
2025-10-28 12:25:57 +01:00
Elena Torro
2c37c5c8ed
🔧 Add support for text spans of different sizes
2025-10-27 12:43:41 +01:00
Alejandro Alonso
479ce99b32
✨ Improve setting svg attrs in wasm
2025-10-24 10:35:30 +02:00
Elena Torro
a30315c91c
🔧 Fix text align selrect and update regression tests
2025-10-23 11:44:40 +02:00
Aitor Moreno
7dd26dee13
Merge pull request #7428 from penpot/elenatorro-fix-shadows-order
...
🐛 Fix shadows order
2025-10-02 17:16:58 +02:00
Elena Torro
7e852cb3ac
🐛 Fix shadows order
2025-10-02 16:40:20 +02:00
Belén Albeza
60f45d1fd7
🐛 Fix internal error crash when attempting to download a font resource that returns 404
2025-10-02 09:58:38 +02:00
Elena Torro
9d8ad0ea6e
🐛 Fix parsing large paths with multiple subpaths
2025-09-26 13:04:47 +02:00