withTextFont method
Returns MathOptions with current text-mode font options merged with given font differences
Implementation
MathOptions withTextFont(PartialFontOptions font) => this.copyWith(
mathFontOptions: null,
textFontOptions:
(this.textFontOptions ?? FontOptions()).mergeWith(font),
);