zed/crates/gpui/examples
Jason Lee ee96d69e37
gpui: Fix CJK line wrap for GPUI text render (#17737)
Release Notes:

- N/A

This changes is going to let GPUI render correct text wrapping for CJK
characters. We was done this in PR #11296 for Editor, but this is also
need support for other text renders.

| Before | After |
| --- | --- |
| <img width="488" alt="SCR-20240912-jtvo"
src="https://github.com/user-attachments/assets/d061669c-62ab-4a7e-a724-2df84815d1ed">
| <img width="438" alt="image"
src="https://github.com/user-attachments/assets/ec27fd80-69db-48b6-8ade-694cd65d1843">
|
2024-09-12 15:55:03 -04:00
..
image gpui: Improve img element to support load from Assets (#15482) 2024-07-30 10:55:48 -04:00
svg gpui: Add svg example (#17315) 2024-09-03 13:15:37 -04:00
animation.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
gif_viewer.rs gpui: Add support for animated images (#13809) 2024-07-27 14:05:37 +02:00
hello_world.rs
input.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
opacity.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
ownership_post.rs
set_menus.rs
shadow.rs Adjust erf estimation function (#15423) 2024-08-07 14:12:26 +02:00
text_wrapper.rs gpui: Fix CJK line wrap for GPUI text render (#17737) 2024-09-12 15:55:03 -04:00
uniform_list.rs gpui: Add example for uniform_list (#17421) 2024-09-05 14:24:10 -04:00
window_positioning.rs
window_shadow.rs