mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 13:26:07 +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