Get size to work properly when style sets the font size
This commit is contained in:
parent
5694332a99
commit
99d7828839
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1224,7 +1224,7 @@
|
|||
},
|
||||
|
||||
handleVariant: function (span,variant,text) {
|
||||
var newtext = "", n, c, font, VARIANT, SPAN = span;
|
||||
var newtext = "", n, c, font, VARIANT, SPAN = {style:{fontFamily:""}};
|
||||
if (text.length === 0) return;
|
||||
if (!span.bbox) {
|
||||
span.bbox = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user