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
I see the issue in the demo. But I don't know what I can do here from Konva side. As I can see, konva is setting font style on 2d canvas API correctly.
I am trying to load and use Montserrat font with normal, bold , medium , bolditalic and italic versions, i load all the fonts in my browser.
This is how i set the font style
const fontStyle =
fontWeight === 700 && isItalic
? "italic bold"
: fontWeight === 400 && isItalic
? "italic"
: fontWeight === 700 && !isItalic
? "bold"
: fontWeight===500 && !isItalic ? "500" : "normal";
current output
expected output
The text was updated successfully, but these errors were encountered: