Andrea Bogazzi
dd6cbe93a2
Fix fast type in itext. ( #4339 )
...
* fix fast type
2017-09-23 00:39:20 +02:00
Stefan Hayden
0fc71349a6
Paint order ( #4303 )
...
* makes fabric aware of the paint-order svg2 spec to swap the paint order of stroke and fill
2017-09-17 22:47:35 +02:00
Andrea Bogazzi
c03111824c
Update deps ( #4315 )
...
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
545686ed96
Fix Safari svg whitespace ( #4294 )
...
* fix-whitespace
* fixed tests
* fixed doc
2017-09-07 12:02:56 +02:00
Andrea Bogazzi
69d377b992
Output version ( #4251 )
...
* output version in json
* fixed tests
* fixed lint
2017-08-29 22:23:42 +02:00
Andrea Bogazzi
3b10702512
Normalize Api for getSelectionStyles, setSelectionStyles ( #4202 )
...
* reworked the text selection
* reorganized api
* missing file
* fixed lint
* more test
2017-08-15 10:10:01 +02:00
Andrea Bogazzi
5a791a8291
fixed origins ( #4170 )
...
* fixed origins
* fixed origins
2017-08-04 11:20:50 +02:00
Andrea Bogazzi
068c815340
Fix text insert on null, give default style to text ( #4166 )
...
* text style error
* change text init
* fixes
2017-08-03 23:23:42 +02:00
Andrea Bogazzi
351e7dfa47
Multiple fixes ( #4119 )
...
* multiple fixes
* updated tests
2017-07-22 16:34:47 +02:00
Andrea Bogazzi
9e076bdcca
small test to ensure getFontCache works with numbers ( #4101 )
...
* small test
* ok
2017-07-15 13:07:58 +02:00
Andrea Bogazzi
d106051554
Remove accessors ( #4065 )
2017-07-03 17:02:44 +02:00
Andrea Bogazzi
4c2e83d089
add cleanStyle, removeStyle ( #4060 )
...
* add cleanStyle, removeStyle
* added semi colons
2017-07-03 12:20:27 +02:00
Andrea Bogazzi
145bd3b03f
Force async ( #3996 )
...
* removed forced async
* tests
* fixed lint
2017-06-11 21:36:51 +02:00
Andrea Bogazzi
7517b951ab
Remove PathGroups for Groups. ( #3969 )
...
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
b112b3405f
text rewriting - reorganization ( #3676 )
...
*text refactored.
2017-04-22 09:15:38 +02:00
Andrea Bogazzi
c3a6447aff
fix text coordinates on init ( #3745 )
...
* fix text coordinates on init
* added small test
* fix test lint
2017-02-27 02:02:30 +01:00
Andrea Bogazzi
a4a8f71fd7
Release 170 ( #3437 )
...
* build 170
* fix default values
* fix text not rendering
* other fixes
* finished fixing
2016-11-21 12:09:25 +01:00
Andrea Bogazzi
cd4c465f4c
fix text minimum dimensions ( #3312 )
...
* fix text dim
* add tests
2016-10-02 11:00:17 +02:00
Andrea Bogazzi
bda846b41a
reverted font changes ( #3276 )
2016-09-19 09:44:42 +02:00
Asturur
a1e5d518bf
fixed tests for browser
2016-09-01 08:31:56 +02:00
Andrea Bogazzi
702126eb85
Change getFontDeclaration ( #3191 )
...
* Change getFontDeclaration
2016-08-22 11:27:34 +02:00
Asturur
3938c83080
build dist
2016-08-18 09:34:02 +02:00
Andrea Bogazzi
725d48771f
Bump to 1.6.3 ( #3080 )
2016-07-03 13:52:08 +02:00
Andrea Bogazzi
4433809cb1
fix lineheight < 1 ( #3078 )
2016-07-02 19:23:36 +02:00
Andrea Bogazzi
f425966162
give text its own dimension function ( #2992 )
...
* give text its own dimension function
* updated tests after verifying that the svg import from element is better than previous
2016-05-21 13:05:59 +02:00
Andrea Bogazzi
dfc574c099
Fix tests removing extra context.Restore();
2016-02-07 18:23:14 +01:00
Andrea Bogazzi
f63cd9862f
Update text.js
2015-12-10 09:36:24 +01:00
Andrea Bogazzi
cda0611326
Add support for skew objects.
2015-09-17 14:22:12 +02:00
Andrea Bogazzi
f805e57297
Update rect.js
2015-07-20 12:57:13 +02:00
Juriy Zaytsev
0e154be1a3
Fix tests
2015-07-14 16:45:29 -04:00
Ulrich Sossou
4603ec9581
Replace empty values of stroke-dasharray in unit tests by 'none'
2015-05-18 07:00:36 +01:00
Andrea Bogazzi
80c3012646
Update object_origin.mixin.js
2015-05-02 19:13:44 +02:00
Andrea Bogazzi
4bed22f4a9
iText clean up and style fixes
2015-04-29 08:27:56 +02:00
Andrea Bogazzi
0e09961c64
Update to text, rendering and optimization
2015-01-26 02:49:37 +01:00
Andrea Bogazzi
7725227d44
Update text.class.js
...
fix text top position in svg export
2014-10-26 22:51:26 +01:00
Andrea Bogazzi
af1138a686
Divided FillRule from globalCompositeOperation
2014-09-23 08:53:56 +02:00
Andrea Bogazzi
3064d5e569
Updated test for text
2014-08-05 13:22:12 +02:00
asturur
ddbcb47d23
Update text.js
...
So tests don't fail.
2014-07-18 18:03:21 +02:00
kangax
17bf29616d
Try fixing char width for travis again
2014-07-18 14:43:54 +02:00
kangax
7de2aedf7c
Try fixing char width for travis again
2014-07-18 14:33:50 +02:00
kangax
3e294fee94
Try fixing char width for travis
2014-07-18 14:27:25 +02:00
kangax
3df3c396a2
Fix unit tests
2014-07-18 13:11:18 +02:00
kangax
9b964b7fbf
Fix unit tests
2014-05-12 11:23:48 +02:00
kangax
c8164959c8
Add support for SVG "visibility: hidden"
2014-04-16 14:05:34 -04:00
Kienz
67fd4253f3
Fix unit tests
2013-11-20 19:47:30 +01:00
kangax
330784ac2c
[BACK_INCOMPAT] Change default objects' originX/originY to left/top
2013-11-04 00:15:49 +01:00
kangax
f2ad6e5be6
[BACK_INCOMPAT] Move "backgroundColor" from fabric.Text to fabric.Object (only works with text for now). Remove fabric.Object#overlayFill. Remove fabric.Canvas.toGrayscale, fabric.Object#toGrayscale, and fabric.Object#overlayFill. Version 1.3.5
2013-09-28 23:47:53 +02:00
Kienz
26e784aede
Move setColorfrom fabric.Text to fabric.Object
...
Fixed "enum" notation
`fabric.Object.setGradient` is now chainable
Doc additions
Add `fabric.Object.setPatternFill`unit test
Add chainable tests to some methods
2013-09-14 17:10:49 +02:00
kangax
5ebd697978
[BACK_INCOMPAT] Remove selectable, hasControls, hasBorders, hasRotatingPoint, transparentCorners, perPixelTargetFind from default object/json representation of objects. Fix includeDefaultValues. Version 1.2.13. Closes #795
2013-09-11 11:41:00 +02:00
Kienz
8c74f2b335
[BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow)
...
[BACK_INCOMPAT] `fabric.BaseBrush`shadow properties are combined into one property => `fabric.BaseBrush.shadow`(shadowColor, shadowBlur, shadowOffsetX, shadowOffsetY no longer exist)
Removed fabric.Text.getText method => is generated with `fabric.util.createAccessors`
`fabric.Shadow` can now initialized with string or object (e.g. '10px 10px 5px rgb(0,0,255)', 'rgb(0,0,255) 10px 10px 5px', {color: 'gb(0,0,255)', offsetX: 10, offsetY: 10, blur: 5})
`fabric.Shadow.getShadow`to get css3 declaration of shadow (String)
`fabric.Object.set('shadow', value)`is now the same as `fabric.Shadow.setShadow(value)`
Add unit tests
2013-09-03 19:11:21 +02:00