Alejandro Alonso
28f23f397e
🐛 Fix extrect calculation
2025-11-19 12:38:01 +01:00
alonso.torres
0a01fc8af9
🐛 Fix problem with selection and text shapes for new render
2025-11-18 09:34:17 +01:00
Elena Torro
127fa931c7
🐛 Fix new lines spacing between paragraphs
2025-11-14 12:00:39 +01:00
Alejandro Alonso
718f42aa94
🐛 Fix deselect and delete events for empty texts
2025-11-12 08:33:17 +01:00
Elena Torro
f496ba78f3
🔧 Fix cross-browser text issues
2025-11-06 12:20:02 +01:00
Elena Torro
24e4ece323
🐛 Fix line-height rendering on empty lines
2025-11-04 11:25:14 +01:00
Elena Torro
87fc71b55d
🐛 Ignore non-frequent chars
2025-11-03 17:08:38 +01:00
Elena Torro
b76bfa2197
🐛 Fix width on rotation
2025-11-03 16:37:17 +01:00
Elena Torro
d18a018236
🔧 Fix tab rendering with the text editor
2025-11-03 11:02:28 +01:00
Elena Torro
eaa3904a3a
🔧 Remove unused text attrs
2025-10-31 09:22:01 +01:00
Elena Torro
9dfb0ebe84
🐛 Fix default font size in text spans
2025-10-29 17:23:29 +01:00
Elena Torro
2c37c5c8ed
🔧 Add support for text spans of different sizes
2025-10-27 12:43:41 +01:00
Aitor Moreno
247c5c3700
Merge pull request #7588 from penpot/elenatorro-fix-text-tests
...
🔧 Fix text align selrect
2025-10-23 15:04:48 +02:00
Aitor Moreno
eb088c31c1
🔧 Rename textleafs and inlines to keep coherence between render and editor
2025-10-23 13:04:21 +02:00
Elena Torro
a30315c91c
🔧 Fix text align selrect and update regression tests
2025-10-23 11:44:40 +02:00
Elena Torro
a51fd009bc
🔧 Improve text tiles intersection on changes
2025-10-21 13:21:02 +02:00
Elena Torró
544b118925
Merge pull request #7361 from penpot/azazeln28-feat-dom-textarea-position
...
🎉 Text Editor DOM textarea position
2025-10-16 14:30:41 +02:00
Elena Torro
af54e6ccc2
🔧 Fix text layout extrect intersection and refactor calculate_extrect function
2025-10-16 14:00:59 +02:00
Aitor Moreno
7ca8bf32b2
🎉 Set DOM text editor element caret
2025-10-16 12:59:24 +02:00
Elena Torro
68cd7075c0
🔧 Allow line height values from 0 to 1
2025-10-07 09:28:24 +02:00
Aitor Moreno
732c79b7b5
🎉 Add function to retrieve caret position
2025-10-01 09:18:46 +02:00
Belén Albeza
361bdb4a04
♻️ Decouple serialization from text/layout models" ( #7360 )
...
* ♻️ Move text serialization code to wasm module
* ♻️ Add serializer for TextAlign
* ♻️ Add serializers for TextDirection and TextDecoration
* ♻️ Add serializer for TextTransform
* ♻️ Remove unused font_style from TextLeaf model
* ♻️ Refactor parsing of TextLeaf from bytes
* ♻️ Decouple tight serialization of Paragraph
2025-09-25 16:54:07 +02:00
Aitor Moreno
f505fcfa0d
🎉 Add internal TextContent layout data
2025-09-22 16:01:23 +02:00
Belén Albeza
e4d610d503
♻️ Decouple shapes serialization from model (rust) ( #7328 )
...
* ♻️ Move shape type serialization to wasm module
* ♻️ Refactor serialization of constraints and vertical alignment into wasm module
* ♻️ Refactor serialization and model of shape blur
* ♻️ Refactor bool serialization to the wasm module
* ♻️ Split wasm::layout into submodules
* ♻️ Refactor serialization of AlignItems, AlignContent, JustifyItems and JustifyContent
* ♻️ Refactor serialization of WrapType and FlexDirection
* ♻️ Refactor serialization of JustifySelf
* ♻️ Refactor serialization of GridCell
* ♻️ Refactor serialization of AlignSelf
* 🐛 Fix AlignSelf not being serialized
* ♻️ Refactor handling of None variants in Raw* enums
* ♻️ Refactor serialization of grid direction
* ♻️ Refactor serialization of GridTrack and GridTrackType
* ♻️ Refactor serialization of Sizing
* ♻️ Refactor serialization of ShadowStyle
* ♻️ Refactor serialization of StrokeCap and StrokeStyle
* ♻️ Refactor serialization of BlendMode
* ♻️ Refactor serialization of FontStyle
* ♻️ Refactor serialization of GrowType
2025-09-22 13:47:54 +02:00
Belén Albeza
e5e11b6383
🔧 Autogenerate serialization values for wasm enums ( #7296 )
...
* 🔧 Autogenerate serialization values for wasm enums
* 🔧 Add serializer values to the wasm api
* ✨ Avoid converting to a clojure map the serializer js object
* 🔧 Update watch script for autoserialized enums
* 🐛 Fix missing serializer values
2025-09-16 12:29:14 +02:00
Elena Torro
4bd2eba573
🐛 Fix text shadows and blur and refactor text rendering
2025-09-10 14:20:24 +02:00
Belén Albeza
3e02dc550f
♻️ Create type alias for ParagraphBuilderGroup
2025-09-02 15:32:10 +02:00
Belén Albeza
1cf0de395c
♻️ Rename get_children to children (Paragraph)
2025-09-02 15:30:54 +02:00
Belén Albeza
d40b68c004
♻️ Refactor and rename ParagraphBuilder instantiating from TextContent
2025-09-02 15:22:05 +02:00
Belén Albeza
50b9e8c6e6
♻️ Rename TextContent::get_width to TextContent::width
2025-09-02 15:07:13 +02:00
Belén Albeza
d25f9cd4bd
♻️ Move auto_width and auto_height to their own textlayout module
2025-09-02 15:03:46 +02:00
Elena Torró
5f37601122
🐛 Fix different fonts on texts shadows ( #7214 )
...
* 🐛 Fix different fonts on texts shadows
* 🔧 Refactor text rendering and move text-decoration logic outside
* 🔧 Use transparency correctly
2025-09-02 12:56:07 +02:00
Elena Torro
025423a75e
🐛 Fix line height on texts and improve text decoration rendering
2025-08-28 12:40:23 +02:00
Elena Torro
46b3e174ed
🐛 Fix paragraph layout width on autowidth
2025-08-22 13:55:24 +02:00
Alejandro Alonso
c0c2c9489c
Merge pull request #7170 from penpot/elenatorro-fix-text-tests
...
🔧 Update and fix text tests
2025-08-22 13:34:00 +02:00
Aitor Moreno
596193d34d
🎉 Add missing styles on text leaves
2025-08-22 12:22:51 +02:00
Aitor Moreno
15eee0d8d8
🎉 Add Text Editor WASM Playground
2025-08-22 12:22:51 +02:00
Elena Torro
0b7444e8ff
🐛 Use SrcIn only when there is only one inner stroke, otherwise use erode filter
2025-08-22 09:54:15 +02:00
Alejandro Alonso
478439f055
🐛 Fix big blur rendering for wasm render
2025-08-21 08:47:25 +02:00
Elena Torro
9bb92277e4
🐛 Fix inner strokes with opacity using erode instead of multiple blending modes
2025-08-20 13:32:20 +02:00
Alejandro Alonso
d99ef29152
Merge pull request #7029 from penpot/elenatorro-11691-fix-default-text-fill
...
🔧 Fix text default color and inner stroke opacity
2025-08-13 12:52:14 +02:00
Elena Torro
82d2889e96
🔧 Improve text strokes blending
2025-08-13 11:50:09 +02:00
alonso.torres
cd1be43384
✨ Add support for boolean shapes
2025-08-11 10:30:14 +02:00
Alejandro Alonso
b70f6af2df
🐛 Fix rendering texts bigger than their selrects in mutiple tiles
2025-07-25 12:56:57 +02:00
Elena Torro
0e20bb6271
🐛 Fix text width calculation
2025-07-25 12:27:26 +02:00
Elena Torro
5427d207cd
🐛 Fix text shadows apply text opacity
2025-07-22 14:34:10 +02:00
Elena Torro
eeee52a738
🐛 Ensure line height is properly handled on line breaks
2025-07-21 11:37:56 +02:00
Elena Torro
b40b1fa2e4
🔧 Refactor ParagraphBuilder and fix auto height
2025-07-11 13:29:22 +02:00
Elena Torro
4c21468850
🔧 Add text decoration styles
2025-07-10 14:26:41 +02:00
Elena Torro
5c120b601c
🐛 Fix text fill gradients and add visual regression test for text styles
2025-06-18 18:02:28 +02:00