lapce/floem

Vello rendering quality

PolyMeilex opened this issue · 2 comments

After reading #635 I got the impression that Vello is supposed to be an upgrade in comparison to vger.
But after switching the feature flag on, the rendering quality drops tremendously in comparison to vger and tiny_skia,

Here is an example screenshot from my project:

vger:
image
vello:
image

The 1px border on the left got antialiased into oblivion (even tho I would expect it to not be anti aliased at all, or at least just an acceptable amount like in vger), while the rounded borders of the card on the right where I would actually expect antialiasing don't have any antialiasing at all.

The text is also harder to read, but it's hard to pinpoint the reason, so let's ignore that for now.

When looking at the app as a whole, those quirks combined make the app look weirdly blurry and jagged at the same time (I only realized why after zooming in and doing those screenshots).

I know that this is not really an actionable issue report, but I report this for the sake of saying that vger backend should probably not go away anytime soon, as dropping it would leave tiny-skia as the only usable option.

(tested on Vulkan and OpenGL backends only)

Vello is an upgrade in that it supports a wider range of features and in the future has potential for a high level of optimization. But it doesn't have sharper text. There is no plan to drop vger right now.

Vello does have a few ways to tweak anti aliasing and font hinting but when experimenting I didn't find a set that better in every way and since it wasn't going to be the main renderer I didn't spend too much time optimizing it. But there is probably some low hanging fruit there for improvement

There is no plan to drop vger right now.

Great, good to hear.

In spare time, I will try to look into tweaking vello's behavior and what can be achieved with it.

Thanks.