Skip to content

Comment on State of Text Rendering 2024parent

Comments

It has nothing to do with shaders? Despite the name, shaping is not the same thing as a shader, shaping selects and places individual glyphs given a collection of code points.

No part of the rasterizer or renderer is configurable here. As mentioned above, the rasterizer is already programmable with up to two different bespoke stack bytecode languages, but that has nothing to do with shaping through wasm.

I agree shaders would be a terrible choice for this.

However, the article clearly states there are intentions to move towards much more than just shaping in wasm:

I proposed that the future of font shaping and drawing/ painting will involve a fully-programmable paradigm.
Bad Apple will become much easier and faster when we introduce the draw API in Wasm.
Drawing and painting API will eventually come to HarfBuzz, probably in 2025.

This is still not rasterization, but a way to modify glyph outlines on the fly. How they are rasterized eventually should be mostly unchanged.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.