Commit graph

118 commits

Author SHA1 Message Date
Andrea Bogazzi
9a595f7037 forgot to export charSpacing value in toObject Method 2016-08-18 07:54:59 +02:00
Andrea Bogazzi
46624d3f50 Textspacing (#3097)
Introduce charspacing.
2016-08-14 23:19:42 +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
eb9b7f45b9 Add ID to svg export (#2993) 2016-05-21 15:07:04 +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
0297041e2f Fix iText space width justification (#2971) 2016-05-15 12:04:02 +02:00
Andrea Bogazzi
13026beecb Control customization part 4 - draw selection background (#2950) 2016-05-08 09:55:34 +02:00
Andrea Bogazzi
52f1ebd500 Update doc for _initDimension and setFont* methods (#2949)
* Update text.class.js doc
* added more docs
2016-05-07 09:04:46 +02:00
Andrea Bogazzi
f88711a526 Docs links, remove last forward slash (#2917) 2016-04-28 23:33:40 +02:00
Andrea Bogazzi
036bc9ab84 Various IText Fixes
Added keyup events, moved "CTRL + Key" combination on keyup so i cancel the event if the textarea consumes the event with other ( real copy and cut )
Added Ctrl+C for copy.
Added compositionUpdate event.
SetShadow was expecting some parameters, we add them at style declaration
Moving the textArea position when editing
managing japanese IME ( and maybe others )
Fixes property of object leaking on style objects
Fixes edge browser different behaviour with different selectionDirection
2016-04-10 14:48:04 +02:00
Andrea Bogazzi
16f358cbfa Merge pull request #2827 from asturur/newtextshadow
Fix SVG for new text shadows
2016-03-11 18:57:06 +01:00
Andrea Bogazzi
fb69e9bc89 Do not call 2 times this.getSvgFilter() 2016-03-11 10:52:20 +01:00
Andrea Bogazzi
bb9aef9726 do not output useless empty style declaration 2016-03-11 08:28:20 +01:00
Andrea Bogazzi
a3fd9061ef Add shadow to outer group of text 2016-03-11 06:14:40 +01:00
Andrea Bogazzi
f15b7f5d3c Update text.class.js 2016-02-25 02:46:05 +01:00
Juriy Zaytsev
5d0524a6bd Build dist, fix lint errors 2015-12-24 10:57:55 -05:00
Juriy Zaytsev
79278468a8 Merge pull request #2316 from mbrzuzy/master
IE9 bugfix for loading SVGs from URL that contain <text> nodes
2015-12-24 10:42:00 -05:00
Andrea Bogazzi
1f41cb3f13 Update text.class.js 2015-12-09 23:05:55 +01:00
Andrea Bogazzi
185d8e2d31 Update text.class.js 2015-12-09 09:41:37 +01:00
Andrea Bogazzi
61daf81470 Update text.class.js 2015-12-08 19:53:44 +01:00
Andrea Bogazzi
41a3aa8a4c Update text.class.js 2015-12-08 11:52:07 +01:00
KULDIP PIPALIYA
66e4efb847 added textAlign possible value in doc block
https://github.com/kangax/fabricjs.com/pull/96
2015-09-18 00:31:39 +05:30
Andrea Bogazzi
27b5d2b0fd Update textbox.class.js 2015-07-29 13:04:25 +02:00
Andrea Bogazzi
29f601512b Update text.class.js
Removed direct use of __lineWidths
2015-07-28 19:05:21 +02:00
Andrea Bogazzi
22d9f8d62a Update text.class.js 2015-07-22 11:01:45 +02:00
Andrea Bogazzi
76284b27cd Update text.class.js
draft
2015-07-22 10:57:16 +02:00
Juriy Zaytsev
8791741c9f Merge pull request #2237 from inssein/textbox
Textbox Implementation - from Jaffer Haider
2015-07-13 18:34:58 -04:00
mbrzuzy
5ddcce5687 Fix errors made when porting over IE9 Fix
- When fix was added, I was still referencing element.textContent instead of the modified textContent
2015-07-08 16:19:04 -04:00
mbrzuzy
1ecebe38ee IE9 bugfix for loading SVGs from URL that contain <text> nodes 2015-07-01 09:04:25 -04:00
Andrea Bogazzi
23eff30d1b Update text.class.js 2015-06-26 11:47:04 +02:00
inssein
489eb1bddf Textbox implementaion from Jaffer Haider, with one minor change in textbox_key_behavior 2015-05-27 15:30:40 -07:00
kangax
ff1b4e206c Fix JSHint warnings, make it catch console.log 2015-05-21 11:47:12 -04:00
Andrea Bogazzi
cfd7521482 Update text.class.js 2015-05-18 08:16:04 +02:00
Andrea Bogazzi
5b429185f7 Update text.class.js
avoid ruining the stack on offsetX and offsetY equal to 0
2015-05-10 18:51:31 +02:00
Andrea Bogazzi
323c648961 Update text.class.js 2015-05-09 11:05:54 +02:00
Andrea Bogazzi
9691acdc2c Update object.class.js 2015-05-08 08:29:03 +02:00
Andrea Bogazzi
4bed22f4a9 iText clean up and style fixes 2015-04-29 08:27:56 +02:00
Andrea Bogazzi
5cdecb27d0 Update text.class.js
removed unused method
2015-04-14 17:57:44 +02:00
Andrea Bogazzi
fb50a4f366 Fix cursor AND selection 2015-04-14 15:41:32 +02:00
Juriy Zaytsev
75452223e8 Merge pull request #2089 from asturur/fix-text-parser
Clean text from svg
2015-04-06 18:44:52 +02:00
Andrea Bogazzi
426ce2a31a Update text.class.js 2015-04-06 14:24:26 +02:00
Andrea Bogazzi
45273cd04c Clean text from svg 2015-04-06 14:17:51 +02:00
Andrea Bogazzi
3e96328c26 Update text.class.js 2015-04-04 13:45:21 +02:00
Andrea Bogazzi
51c2cd7e74 Update text.class.js 2015-03-08 12:32:33 +01:00
Andrea Bogazzi
320c7cac6d Update text.class.js
Fix a bug caused by lazy copy paste , replace.
2015-02-24 10:29:03 +01: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
Stefan Kienzle
30e248bf18 Fix opacity for fabric.Text and fabric.IText 2014-10-20 15:49:29 +02:00
Andrea Bogazzi
30876c8c3a Update text.class.js
Added fix for stroke shadow as in object class in normal renderFill method.
2014-10-12 18:50:26 +02:00