Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Similar: emacs can take SVG screenshots of itself:

https://gist.githubusercontent.com/alphapapa/65b0b9d4b3f5534...



That's insane ^^


Seems to depend on Cairo, which is AKAIK only available in X11 environments. Does anybody know how to get this working on OSX?


macOS has APIs to get a vector PDF snapshot from any view/window [1]. If emacs ends up drawing using platform APIs such as CoreText it should be possible to get a screenshot that way.

[1]: https://developer.apple.com/documentation/appkit/nswindow/14...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: