Symptom: Opening any PDF file shows "An error happened while opening this file" and the editor closes
Root cause: sdkjs/common/libfont/engine/fonts.js is compiled with Emscripten but noExitRuntime is not included in EXPORTED_RUNTIME_METHODS. The calling code in drawingfile.js accesses Module.noExitRuntime, which aborts the WASM module.
Console error:
Aborted('noExitRuntime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the Emscripten FAQ))
at abort (fonts.js:38)
at Object.get (fonts.js:36)
at drawingfile.js:167
Tested on: ghcr.io/euro-office/documentserver:latest (image created 2026-03-31), DocumentServer version 9.2.1
Fix: Recompile fonts.js with -s EXPORTED_RUNTIME_METHODS='["noExitRuntime"]' (or add it to the existing exports list)
Symptom: Opening any PDF file shows "An error happened while opening this file" and the editor closes
Root cause: sdkjs/common/libfont/engine/fonts.js is compiled with Emscripten but noExitRuntime is not included in EXPORTED_RUNTIME_METHODS. The calling code in drawingfile.js accesses Module.noExitRuntime, which aborts the WASM module.
Console error:
Aborted('noExitRuntime' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the Emscripten FAQ))
at abort (fonts.js:38)
at Object.get (fonts.js:36)
at drawingfile.js:167
Tested on: ghcr.io/euro-office/documentserver:latest (image created 2026-03-31), DocumentServer version 9.2.1
Fix: Recompile fonts.js with -s EXPORTED_RUNTIME_METHODS='["noExitRuntime"]' (or add it to the existing exports list)