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
Currently, when using predefined fonts such as Courier, Helvetica and Times-Roman, I need to explicitly specify the font family again to apply styles like bold or italic. This issue does not occur with registered fonts, where we can use fontWeight and fontStyle without specifying variations (e.g., Inter works as expected without needing Inter-Bold).
This issue specifically affects predefined fonts. It would be great if these fonts worked similarly to registered fonts, where fontWeight and fontStyle can be applied directly without needing to specify the font family variation.
This change would simplify font management, making it consistent with how CSS handles fonts and improving the developer experience by not requiring explicit font family variations for weight and style.
The text was updated successfully, but these errors were encountered:
Currently, when using predefined fonts such as
Courier
,Helvetica
andTimes-Roman
, I need to explicitly specify the font family again to apply styles like bold or italic. This issue does not occur with registered fonts, where we can usefontWeight
andfontStyle
without specifying variations (e.g.,Inter
works as expected without needingInter-Bold
).For example, instead of this:
It would be more convenient to allow:
This issue specifically affects predefined fonts. It would be great if these fonts worked similarly to registered fonts, where
fontWeight
andfontStyle
can be applied directly without needing to specify the font family variation.This change would simplify font management, making it consistent with how CSS handles fonts and improving the developer experience by not requiring explicit font family variations for weight and style.
The text was updated successfully, but these errors were encountered: