4 ms·
This is getting beyond my paygrade, though it in part depends on the OS dispaly system. There are some concepts -- and I very barely grasp this -- such as Disp
by dredmorbius 7y ago
This is getting beyond my paygrade, though it in part depends on the OS dispaly system.
There are some concepts -- and I very barely grasp this -- such as Display Postscript, not in present use AFAIU, which might offer such capabilities within the windowing system.
That is, with DPS the display itself would have awareness of both the underlying text and the formatting directives.
Whether that's even remotely similar to existing graphical systems, I've no idea.
See: https://en.wikipedia.org/wiki/Display_PostScript https://en.wikipedia.org/wiki/Display_PostScript
- alkonaut 7y agoIn the most general case (and more commonly than it ever was) each app is just a rectangular area where it renders using gpu hardware with. This used to be how games rendered but now even shells and text editors are getting there. If one has to manage this case too then basically the only places one can copy from are in the compositor (images ie screenshots) or from apps. Even when text drawing is passed through the OS (or platform libs e.g GDI on windows) it’s difficult to imagine APIs where the OS would know what is “selected”, ie what should be passed to the clipboard.