About loadfont runtime error in emscripten

I want to use loadfont in emscriten like this

    (ofxPanel m_gui;)

void ofApp::setup(){
    ofTrueTypeFontSettings settings("Serif", 12);
    settings.antialiased = true;
    settings.dpi = 72;
    settings.direction = OF_TTF_LEFT_TO_RIGHT;
    settings.addRanges(ofAlphabet::Japanese);
    settings.addRanges(ofAlphabet::Latin);

    m_gui.setup();
    m_gui.setPosition(x,y);

    m_gui.loadFont(settings);
   m_gui.add(m_startbtn.setup("開始",false));
..........................

This code is working in linux .
But if I run this code in web,it crashs.
error code is
exception thrown: 9624424 - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.
printErr @ OFNewPlayer.html?http%3A%2F%2Fmonkeytalk.jp%2Ffiles%2Fvideos%2F2018%2F10%2F08%2F153900335055956-sd.mp4:153
OFNewPlayer.js:1 Uncaught 9624424 - Exception catching is disabled, this exception cannot be caught. Compile with -s DISABLE_EXCEPTION_CATCHING=0 or DISABLE_EXCEPTION_CATCHING=2 to catch.
err
If I commet out

m_gui.loadFont(settings);

this app is working in web .
So this error come from loadfont
But I cannot find how to run loadfont in web.
Please tell me how to do it.

To solve this.
At first add link frag -s DISABLE_EXCEPTION_CATCHING=0
And run
It say loadfont file name error
so I changed code

    ofTrueTypeFontSettings settings("ipagp.ttf", 12);
    settings.antialiased = true;
    settings.dpi = 72;
    settings.direction = OF_TTF_LEFT_TO_RIGHT;
    settings.addRanges(ofAlphabet::Japanese);
    settings.addRanges(ofAlphabet::Latin);

    m_gui.setup();
    m_gui.setPosition(x,y);

    m_gui.loadFont(settings);
   m_gui.add(m_startbtn.setup("開始",false));

and I added /data/ipagp.ttf
And run
Result:(in chrome)
exception thrown: RuntimeError: memory access out of bounds,RuntimeError: memory access out of bounds
at wasm-function[609]:65
at wasm-function[9659]:1589
at wasm-function[10189]:630
at wasm-function[7056]:174
at wasm-function[1115]:877
at wasm-function[11831]:17
at Object.Module.dynCall_iiii (http://localhost:6931/OFNewPlayer.js:1:661075)
at invoke_iiii (http://localhost:6931/OFNewPlayer.js:1:373628)
at wasm-function[7137]:123
at wasm-function[11737]:18
couldn’t lock 16384 bytes of memory (secret_session):

Result:(firefox)
exception thrown: RuntimeError: index out of bounds,@http://localhost:6931/OFNewPlayer.wasm:wasm-function[609]:0x33636
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[9659]:0x49c6bd
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[10189]:0x512175
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[7056]:0x30bc14
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[1115]:0x72880
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[11831]:0x65cee8
Module.dynCall_iiii@http://localhost:6931/OFNewPlayer.js:1:661045
invoke_iiii@http://localhost:6931/OFNewPlayer.js:1:373606
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[609]:0x33636
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[7137]:0x3166a3
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[11737]:0x658992
Module.dynCall_viii@http://localhost:6931/OFNewPlayer.js:1:668240
invoke_viii@http://localhost:6931/OFNewPlayer.js:1:384388
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[609]:0x33636
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[8698]:0x3f6ee9
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[12155]:0x6687c5
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[11384]:0x64505e
Module.dynCall_vi@http://localhost:6931/OFNewPlayer.js:1:663517
invoke_vi@http://localhost:6931/OFNewPlayer.js:1:377700
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[609]:0x33636
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[16076]:0x74bf05
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[4094]:0x20c561
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[1009]:0x57735
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[11831]:0x65cee8
Module.dynCall_iiii@http://localhost:6931/OFNewPlayer.js:1:661045
invoke_iiii@http://localhost:6931/OFNewPlayer.js:1:373606
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[609]:0x33636
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[1259]:0x86780
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[11831]:0x65cee8
Module.dynCall_iiii@http://localhost:6931/OFNewPlayer.js:1:661045
invoke_iiii@http://localhost:6931/OFNewPlayer.js:1:373606
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[609]:0x33636
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[2343]:0x119b3e
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[4028]:0x208260
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[13336]:0x6a225b
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[11709]:0x652080
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[5314]:0x2616cd
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[9283]:0x4580f7
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[11471]:0x648927
Module.dynCall_ii@http://localhost:6931/OFNewPlayer.js:1:659905
invoke_ii@http://localhost:6931/OFNewPlayer.js:1:371763
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[609]:0x33636
@http://localhost:6931/OFNewPlayer.wasm:wasm-function[10323]:0x535aa3
Module._main@http://localhost:6931/OFNewPlayer.js:1:657835
callMain@http://localhost:6931/OFNewPlayer.js:1:673968
doRun@http://localhost:6931/OFNewPlayer.js:1:674641
run/<@http://localhost:6931/OFNewPlayer.js:1:674809

I cannot solve this