|
@@ -39,7 +39,7 @@ Object.assign( Font.prototype, {
|
|
|
|
|
|
function createPaths( text, size, data ) {
|
|
|
|
|
|
- var chars = Array.from ? Array.from( text ) : String( text ).split( '' ); // see #13988
|
|
|
+ var chars = Array.from ? Array.from( text ) : String( text ).split( '' ); // workaround for IE11, see #13988
|
|
|
var scale = size / data.resolution;
|
|
|
var line_height = ( data.boundingBox.yMax - data.boundingBox.yMin + data.underlineThickness ) * scale;
|
|
|
|