3 ms·
> It would be good to also support Wayland compositors without GTK. So, which text and vector renderer are you proposing? That's not snark, that's a real ques
by bsder 6y ago
> It would be good to also support Wayland compositors without GTK.
So, which text and vector renderer are you proposing? That's not snark, that's a real question.
A GUI that can actually scale requires both a vector rendering engine and a text rendering engine.
On Linux, that's Cairo and Pango--which are Gtk.
I believe that your only other open source vector engine is Skia, from Google.
Am I missing any other options?
- xioxox 6y agoQt. It supports Wayland. It can do high DPI scaling.
- bsder 6y agoCan you pull the Qt vector rendering engine out and use it independently to render to a non-Qt surface? I've never heard of anybody doing that.
- jononor 6y agoOne can use Cairo and Pango without GTK?
- bsder 6y agoTo a certain extent. You can probably punt the UI widget stuff. However, I suspect certain things like glib are required dependencies.
- CameronNemo 6y agoCairo does not depend on glib,, but pango does.
- coldtea 6y agoThere's also Graphite (still alive?) that doesn't...
- shmerl 6y agoSkia is a decent option, or if it has to be written in Rust, then something Rust based.
- coldtea 6y ago>So, which text and vector renderer are you proposing? That's not snark, that's a real question I was going to write that there are several, but you already mention most of them. You say though: "On Linux, that's Cairo and Pango--which are Gtk." Yeah, they're not really GTK. Or in any case that's not what people mean when they say they wished a Rust GUI that doesn't use GTK. They mean one that doesn't use GTK+ the lib and widgets, not whether it can use Cairo and Pango...
- adamnemecek 6y agoCheck out femtovg https://github.com/femtovg/femtovg https://github.com/femtovg/femtovg