removeMathFont method

OptionsDiff removeMathFont()

Strip math font changes.

Implementation

OptionsDiff removeMathFont() {
  if (mathFontOptions == null) return this;
  return OptionsDiff(
    color: this.color,
    size: this.size,
    style: this.style,
    textFontOptions: this.textFontOptions,
  );
}