[HN Gopher] Text layout is a loose hierarchy of segmentation (2020) ___________________________________________________________________ Text layout is a loose hierarchy of segmentation (2020) Author : lylejantzi3rd Score : 36 points Date : 2022-12-29 15:05 UTC (1 days ago) (HTM) web link (raphlinus.github.io) (TXT) w3m dump (raphlinus.github.io) | splatzone wrote: | I like this way of formatting ideas hierarchically. | | Is there an Obsidian plugin for using this kind of structure? I | know there's the graph view for seeing how notes are linked | together | nicoburns wrote: | It's two years since this was posted, and the amazing news is | that we now have not just one but two projects implementing text | layout in Rust that look like they might be viable: | | - https://github.com/pop-os/cosmic-text/ - which is still has a | way to go but already complex scenarios involving asian and | arabic scripts, which is impressive considering it's only a | couple of months old. This one is backed by System76 for use in | their new desktop environment | | - And https://github.com/dfrg/parley which looks abandoned but is | already impressively complete and the author has signalled they | intend to revisit at the start of this year. This one is being | used in the Druid toolkit mentioned in the article (and it's | successor Xilem) and also the text editor | https://github.com/lapce/lapce which is based on that toolkit. | raphlinus wrote: | A clarification: Druid proper uses the text layout capabilities | of the platform (DirectWrite on Windows, Core Text on macOS, | and Pango on Linux), while Xilem does indeed use Parley. Lapce | uses a fork of Druid that, as parent states, uses Parley for | text layout. | | It does look like a very good year coming up! I'm writing a | reflection/wishes post as we speak. | nicoburns wrote: | Ah yes. I only really started following the Druid project | closely recently, and I've focussed more on the newer sub- | projects so my knowledge of Druid proper is limited (indeed | partly _because_ I am much more interested in "rust native" | UI (to the extent that that is possible) than I am in | toolkits that rely heavily on closed-source OS provided APIs. ___________________________________________________________________ (page generated 2022-12-30 23:00 UTC)