mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 04:14:52 +08:00
text font fix. close #910
This commit is contained in:
@@ -366,10 +366,9 @@ export class Text extends Shape<TextConfig> {
|
||||
SPACE +
|
||||
this.fontVariant() +
|
||||
SPACE +
|
||||
this.fontSize() +
|
||||
PX_SPACE +
|
||||
(this.fontSize() + PX_SPACE) +
|
||||
// wrap font family into " so font families with spaces works ok
|
||||
+'"' +
|
||||
'"' +
|
||||
this.fontFamily() +
|
||||
'"'
|
||||
);
|
||||
|
Reference in New Issue
Block a user