3 ms·
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
by Jasper_ 2y ago
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.
- slimsag 2y agoI 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.
- khaled 2y agoThis is still not rasterization, but a way to modify glyph outlines on the fly. How they are rasterized eventually should be mostly unchanged.