• 56!@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    That is interesting. WASM seems like it’s just a replacement for the TrueType hinting language (which is already a VM). So I guess it’s benefiting from a more standardised and audited virtual machine.

    It’s also fairly limited to what it can do (source):

    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

    I don’t see how the mentioned future drawing API will fit into that though.