Le 25/08/2022 à 00:00, CieMaKat a écrit :
Out of couriosity - does the introduction of Cairo bring us any closer to rendering LilyPond directly in web browser (i.e. with WebAssembly)? Have anyone considered that?
I don't think so — how would it bring us closer? As far as my understanding goes (but my knowledge of Web programming is extremely limited), to run LilyPond in a browser from the client side (i.e. the LilyPond compilation happens in the user's computer, not on the server), what you would need is to compile LilyPond (with all of its dependencies) to WASM with the Emscripten compiler. Cairo would just spare you building GhostScript for WASM in exchange for building Cairo and LibPNG for WASM. Jean