Belén Albeza
d048a251f1
🐛 Fix render of text baseline (wasm)
2025-11-12 14:59:57 +01:00
Elena Torro
b76bfa2197
🐛 Fix width on rotation
2025-11-03 16:37:17 +01:00
Belén Albeza
4ab6ecec21
🔧 Fix rust linter errors
2025-11-03 10:43:35 +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 Torró
140290cd60
Merge pull request #7556 from penpot/ladybenko-12362-fix-underline-spacing
...
_DEVELOP / build-bundle (push) Has been cancelled
_DEVELOP / build-docker (push) Has been cancelled
_STAGING / build-bundle (push) Has been cancelled
_STAGING / build-docker (push) Has been cancelled
Commit Message Check / Check Commit Message (push) Has been cancelled
🐛 Fix underline not matching spacing/thickness
2025-10-22 10:21:48 +02:00
Belén Albeza
87221eb7db
🐛 Fix underline not matching spacing/thickness
2025-10-21 16:57:02 +02:00
Elena Torro
dc689f9756
🐛 Fix texts offset-y calculation when there are multiple lines and stroke paints
2025-10-21 16:13:40 +02:00
Elena Torro
a51fd009bc
🔧 Improve text tiles intersection on changes
2025-10-21 13:21:02 +02:00
Aitor Moreno
7ca8bf32b2
🎉 Set DOM text editor element caret
2025-10-16 12:59:24 +02:00
Aitor Moreno
732c79b7b5
🎉 Add function to retrieve caret position
2025-10-01 09:18:46 +02:00
Aitor Moreno
f505fcfa0d
🎉 Add internal TextContent layout data
2025-09-22 16:01:23 +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
50b9e8c6e6
♻️ Rename TextContent::get_width to TextContent::width
2025-09-02 15:07:13 +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
Elena Torro
82d2889e96
🔧 Improve text strokes blending
2025-08-13 11:50:09 +02:00
Alejandro Alonso
e473f45048
🐛 Fix visible 0 width strokes in wasm render
2025-07-28 08:46:47 +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
134fb1ab4c
🔧 Add vertical alignment for text shapes
2025-06-23 16:45:25 +02:00
Elena Torró
4869373a43
🔧 Add methods to render text as path ( #6624 )
...
* 🔧 Refactor text strokes drawing
* 🔧 Add text to path methods for future usage
* 📚 Add text as paths internal documentation
2025-06-16 13:37:29 +02:00
Alejandro Alonso
5c58a04fc2
🐛 Fix inner strokes black background effect
2025-05-29 09:05:30 +02:00
Belén Albeza
8afd217a80
🔧 Enable back clippy rules ( #6492 )
...
* 🔧 Fix lint script (rust)
* 🔧 Temporarily add clippy rules to ignore so lint script passes
* 💄 Fix clippy rule crate_in_macro_def
* 💄 Fix clippy rule redundant-static-lifetimes
* 💄 Fix clippy rule unnecessary_cast
* 💄 Fix clippy rule nonminimal_bool
* 💄 Fix clippy rule redundant_pattern_matching
* 💄 Fix clippy rule assign_op_pattern
* 💄 Fix clippy rule needless_lifetimes
* 💄 Fix clippy rule for_kv_map
* 💄 Fix clippy rule ptr_arg
* 💄 Fix clippy rule match_like_matches_macro
* 💄 Fix clippy rule macro_metavars_in_unsafe
* 💄 Fix clippy rule map_clone
* 💄 Fix clippy rule wrong_self_convention
* 💄 Fix clippy rule vec_box
* 💄 Fix clippy rule useless_format
* 💄 Fix clippy rule unwrap_or_default
* 💄 Fix clippy rule unused_unit
* 💄 Fix clippy rule unnecessary_to_owned
* 💄 Fix clippy rule too_many_arguments
* 💄 Fix clippy rule slow_vector_initialization
* 💄 Fix clippy rule single_match
* 💄 Fix clippy rule redundant_field_names
* 💄 Fix clippy rule rendudant_closure
* 💄 Fix clippy rule needless_return
* 💄 Fix clippy rule needless_range_loop
* 💄 Fix clippy rule needless_borrows_for_generic_args
* 💄 Fix clippy rule needless-borrow
* 💄 Fix clippy rule missing_transmute_annotations
* 💄 Fix clippy rule map_entry
* 💄 Fix clippy rule manual_map
* 💄 Fix clippy rule len_zero
* 💄 Fix clippy rule from_over_into
* 💄 Fix clippy rule field_reassign_with_default
* 💄 Fix clippy rule enum_variant_names
* 💄 Fix clippy rule derivable_impls
* 💄 Fix clippy rule clone_on_copy
* 💄 Fix clippy rule box_collection
* 🔧 Make lint script also check test config target
* 🔧 Remove cargo-watch as a lib dependency
* 💄 Fix clippy rule for join_bounds
* 🔧 Fix lint script return code
---------
Co-authored-by: alonso.torres <alonso.torres@kaleidos.net >
2025-05-19 11:14:55 +02:00
Elena Torró
61eb2f4a19
🎉 Add text solid strokes ( #6384 )
...
* 🎉 Add text strokes
* 🔧 Minor refactor
2025-05-07 17:28:36 +02:00
Elena Torró
c2ae58bf08
🎉 Add text shadows ( #6335 )
2025-04-24 12:19:41 +02:00
Elena Torro
3c4be537d9
🐛 Revert offset change to fix paragraph rendering
2025-03-27 17:17:36 +01:00
Elena Torro
33c3611345
✨ Render text properly while dragging and resizing the text Shape
2025-03-27 13:04:45 +01:00
Belén Albeza
eb6d2fb0eb
🎉 Store custom fonts (ttfs) and use them to write texts (wasm) ( #6050 )
2025-03-14 12:45:15 +01:00
Belén Albeza
aa468e2153
🎉 Render plain text
...
* 🎉 Serialize text content (wasm)
* ♻️ Refactor functions in main to wasm module
* 🎉 Stub rendering of paragraph text (wasm)
* 📎 Clean up commented code
2025-03-04 11:54:52 +01:00