@
favourstreet > Harfbuzz is therefore restricted to turning a buffer of codepoints for a segmented run of the same script, language, font, and variation settings, into glyphs and positioning them. This is also all that you can do with the WASM shaper; you can influence the process of mapping a string of characters into an array of glyphs, you can determine how those glyphs are positioned and their advance widths, but you cannot manipulate outlines, variations, line breaks, or affect text layout between texts of different font, variation, language, script or OpenType feature selection.
https://github.com/harfbuzz/harfbuzz/blob/main/docs/wasm-shaper.md看起来这种 shaper 功能十分有限,但是你说的运行过久也确实是个问题,目前没看到官方有说如何处理