It seems there is something not working while using setOption fontSize and fontWeight which changes fontFamily
Initialize xterm.js using setOption
self.xterm.setOption('theme', theme)xterm.setOption('fontSize', theme.fontSize || '10px')xterm.setOption('fontWeight', theme.fontWeight || 'normal')Looks like this is happening because you're using '10px' the string for fontSize, you should use 10 the number as per:
Thank you very much.