'How do I apply my MSDF fonts(json, png) to Mozilla hubs?(to my server)

How do I apply my MSDF fonts(json, png) to Mozilla hubs?(to my server)
I'm trying to change the font where at line 87(hubs/src/component/hubs-text.js), but it didn't work
Can you guys tell me which part I have to change? or add the code?

[enter image description here][1] [1]: https://i.stack.imgur.com/vSWhO.png
(line 87(hubs/src/component/hubs-text.js))



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source