关于 Matheditor - fontfamily 在 MathML 3 中被弃用

Regarding Matheditor - fontfamily is deprecated in MathML 3

我需要在我的 Matheditor 中更改我的字体系列,但我得到了这个,

error: "'fontfamily' is deprecated in MathML 3, superseded by 'mathvariant'",

谁能帮我解决这个问题?

fontfamily 自 MathML 2.0 (2003) 以来已弃用。 通常不鼓励在数学标记中设置字体属性。

如标准所述(MathML 2.0):

"direct manipulation of these rendering properties by whatever means should usually be avoided".

Link 一些解释: http://www.w3.org/TR/MathML2/chapter3.html#presm.deprecatt

字体属性通常(如果有的话)由 / 为渲染器设置。然而,我的经验是通过任何方式调整字体都是一个坏主意。默认设置最适合几乎 all 渲染器。