You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One difference with math vs text font commands, is text commands change one aspect of the font (weight, shape, or family). Math commands change all aspects of the font (weight, shape, and family). Currently options.withFontFamily is being used for math fonts as well a text families.
We should leverage options.withFont() for math, and options.withFontFamily/Shape/Weight for text.
Alternatively, a simpler solution could be to rename withFontFamily or provide a descriptive comment explaining it's multiple uses.
The text was updated successfully, but these errors were encountered:
One difference with math vs text font commands, is text commands change one aspect of the font (weight, shape, or family). Math commands change all aspects of the font (weight, shape, and family). Currently options.withFontFamily is being used for math fonts as well a text families.
We should leverage
options.withFont()
for math, andoptions.withFontFamily/Shape/Weight
for text.Alternatively, a simpler solution could be to rename
withFontFamily
or provide a descriptive comment explaining it's multiple uses.The text was updated successfully, but these errors were encountered: