add conversion from qfont weight to html weight