diff --git a/src/core/text/Text.js b/src/core/text/Text.js index 5213c07..4e94f6b 100644 --- a/src/core/text/Text.js +++ b/src/core/text/Text.js @@ -735,7 +735,7 @@ // build canvas api font setting from individual components. Convert a numeric style.fontSize to px const fontSizeString = (typeof style.fontSize === 'number') ? `${style.fontSize}px` : style.fontSize; - return `${style.fontStyle} ${style.fontVariant} ${style.fontWeight} ${fontSizeString} ${style.fontFamily}`; + return `${style.fontStyle} ${style.fontVariant} ${style.fontWeight} ${fontSizeString} "${style.fontFamily}"`; } /**