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
When switching fonts the weight of the new font should match, or be closer as possible, to the weight of the old one.
The typical use-case is the following:
User sets some text using Work Sans Heavy Italic
User later switches the font family to Helvetica
Font weight abruptly change to Regular, which is the first available weight for Helvetica. Instead Elm Designer should land to the closer weight Helvetica has, that is bold, and keep the italicized text.
We can probably reuse the font-weight CSS mapping where Hairline is 100 and Heavy is 900 to figure out the best match we have available in the new font.
Fix weight on changing current node font family
Fix italic too
Fix weight and italic styles on children of the changed node when their node is set to Inherit
The text was updated successfully, but these errors were encountered:
When switching fonts the weight of the new font should match, or be closer as possible, to the weight of the old one.
The typical use-case is the following:
We can probably reuse the font-weight CSS mapping where Hairline is 100 and Heavy is 900 to figure out the best match we have available in the new font.
Inherit
The text was updated successfully, but these errors were encountered: