fabric 5.5.1-browser → 5.5.2-browser
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/HEADER.js +1 -1
- package/dist/fabric.js +2 -2
- package/dist/fabric.min.js +1 -1
- package/package.json +1 -1
- package/src/shapes/text.class.js +1 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "fabric",
|
|
3
3
|
"description": "Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.",
|
|
4
4
|
"homepage": "http://fabricjs.com/",
|
|
5
|
-
"version": "5.5.
|
|
5
|
+
"version": "5.5.2-browser",
|
|
6
6
|
"author": "Juriy Zaytsev <kangax@gmail.com>",
|
|
7
7
|
"contributors": [
|
|
8
8
|
{
|
package/src/shapes/text.class.js
CHANGED
|
@@ -568,7 +568,7 @@
|
|
|
568
568
|
* @param {String} [charStyle.fontStyle] Font style (italic|normal)
|
|
569
569
|
*/
|
|
570
570
|
_setTextStyles: function(ctx, charStyle, forMeasuring) {
|
|
571
|
-
ctx.textBaseline = '
|
|
571
|
+
ctx.textBaseline = 'alphabetic';
|
|
572
572
|
if (this.path) {
|
|
573
573
|
switch (this.pathAlign) {
|
|
574
574
|
case 'center':
|