Elektrine lite

← Feed

@jawnsy@mastodon.social

Post #1925795

2025-04-08 15:53 UTC

Exciting news for fans of typography! "For decades, software like Adobe InDesign and LaTeX has evaluated multiple lines of text at a time as they decide where to end one line and begin the next. It’s just that the web didn’t use a multiline algorithm. Until now. We are excited to bring this capability to the web for the first time, in Safari Technology Preview 216." https://webkit.org/blog/16547/better-typography-with-text-wrap-pretty/ by @jensimmons

Replies (8)

  • @jawnsy@mastodon.social 2025-04-08 15:53

    "WebKit is not the first browser engine to implement, but we are the first browser to use it to evaluate and adjust the entire paragraph. And we are the first browser to use it to improve rag. We chose to take a more comprehensive approach in our implementation because we want you to be able to use this CSS to make your text easier to read and softer on the eyes, to provide your users with better readability and accessibility. And simply, to make something beautiful."

    Open ##3122485

  • @thorms11@mastodon.social 2025-04-08 17:32

    @jawnsy@mastodon.social @jensimmons@front-end.social I am not a developer, but I do write a lot on the web and this looks great!

    Open ##3122490

  • @bjorndown@mastodon.social 2025-04-08 20:12

    @jawnsy@mastodon.social @jensimmons@front-end.social > Many developers are understandably concerned about the performance of text-wrap: pretty I would like to believe that. But looking at the number of sites I visit that are brimming with animations, I could not help but laugh at that statement.

    Open ##3122491

  • @zl2tod@mastodon.online 2025-04-08 21:17

    ping @jackyan@mastodon.social

    Open ##3122493

  • @whybird@aus.social 2025-04-08 21:31

    @jawnsy@mastodon.social @jensimmons@front-end.social @gruber@mastodon.social - can I get a “finally”? ;)

    Open ##3122496

  • @drewpickard@mastodon.social 2025-04-08 23:27

    @jawnsy@mastodon.social @jensimmons@front-end.social Thank you so much for this work. I cannot wait to see broad adoption. This is light-years better than 'balanced’ which is anything but pretty!

    Open ##3122497

  • @jawnsy@mastodon.social @jensimmons@front-end.social I love this news, but I'd love it more if it was available in other multi-platform browsers. Maybe I missed something 🤔

    Open ##3122506

  • @overflorian@mamot.fr 2025-04-09 15:58

    @jawnsy@mastodon.social @jensimmons@front-end.social my kind of news ❤️❤️❤️

    Open ##3122520