Andrea Bogazzi
3b911a9882
Update text.class.js
...
Fixes exporting of text simple group.
Thanks to Chris Buergi to make me notice
2014-08-28 22:28:28 +02:00
Andrea Bogazzi
74f796fe3e
Fixed toSVG for text.
2014-08-05 13:01:51 +02:00
kangax
818ab118b3
JSCS changes; Prepare for JSCS ignore support; down to 51 failures
2014-08-03 16:47:27 +02:00
kreig
d3f28eb1f0
globalCompositeOperation support (fillRule)
...
Fixes fillRule settings for text object as it was mentioned in https://github.com/kangax/fabric.js/pull/1172/files
2014-07-25 05:23:53 +03:00
asturur
da99193ad6
Update text.class.js
2014-07-18 20:37:32 +02:00
asturur
4db2d6c5ed
Update text.class.js
2014-07-18 16:24:34 +02:00
asturur
3bf7fbc619
Update text.class.js
2014-07-18 16:24:15 +02:00
Stefan Kienzle
b34387d10e
JSDoc + JSCS tweaks - Part 1
2014-07-17 16:18:57 +02:00
Tom French
6b8ce5c1ce
JSHint
2014-07-05 18:06:21 +01:00
Tom French
8c826a3204
Fixes for controlsAboveOverlay
2014-06-06 17:36:17 +01:00
Tom French
0d8db88e71
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
.gitignore
dist/fabric.js
dist/fabric.require.js
src/brushes/circle_brush.class.js
src/canvas.class.js
src/mixins/canvas_events.mixin.js
src/mixins/object_geometry.mixin.js
src/mixins/object_interactivity.mixin.js
src/shapes/group.class.js
src/shapes/image.class.js
src/shapes/object.class.js
src/shapes/path_group.class.js
src/shapes/text.class.js
2014-05-31 17:29:55 +01:00
kangax
f5691b4b4f
Set default originX as center. Closes #974
2014-05-09 23:29:11 +02:00
kangax
b3600e62a4
Add support for text-anchor's
2014-04-18 16:07:49 -04:00
kangax
5e385e5ed0
Fix text offsets and size in SVG
2014-04-16 13:39:32 -04:00
kangax
d2f6a9033e
Add JSCS validation & change bunch of things for conformance. Down to 333 failures from ~1000.
2014-02-16 16:36:14 -05:00
kangax
37afbc2909
Fix transformMatrix not affecting text. Closes #1031
2013-12-07 13:59:38 +01:00
Tom French
3cc191bdfb
Fixed control and group selection rendering
2013-12-06 13:40:17 +00:00
Tom French
b0e944c251
Merge branch 'master' of https://github.com/kangax/fabric.js
...
Conflicts:
dist/all.require.js
2013-12-05 19:46:47 +00:00
Tom French
ce4809d1e8
Merge branch 'master' of https://github.com/kangax/fabric.js
...
Conflicts:
dist/all.js
dist/all.require.js
src/brushes/circle_brush.class.js
src/brushes/spray_brush.class.js
src/canvas.class.js
src/mixins/canvas_events.mixin.js
src/mixins/object_interactivity.mixin.js
src/shapes/group.class.js
src/shapes/image.class.js
src/shapes/object.class.js
src/util/misc.js
2013-12-05 19:45:39 +00:00
kangax
0f23f14a44
Add fabric.IText#caching
2013-11-27 19:48:35 +01:00
Tom French
08d575422c
Fixes to zoom for groups and brushes.
2013-11-19 16:21:29 +00:00
kangax
de7b92bda5
Some refactoring; move arc into a separate file
2013-11-16 15:20:41 +01:00
kangax
e3b0f666fb
More precise path-group check. Closes #964
2013-11-14 19:22:45 +01:00
kangax
2753108028
Initial implementation of fabric.IText#toSVG (~75% complete atm)
2013-11-04 15:20:40 +01:00
kangax
c6c5090a20
Small tweaks in text.class.js
2013-11-03 17:38:39 +01:00
Tom French
328f14f388
Add zoom
2013-10-31 17:36:18 +00:00
kangax
7ff0ae826f
Refactor _renderViaNative a bit more
2013-10-30 17:35:20 +01:00
kangax
6892783156
Refactor fabric.Text#toSVG
2013-10-27 19:20:46 +01:00
kangax
803ad572d4
draw -> render, for consistency
2013-10-27 13:27:05 +01:00
kangax
bd79c10987
Refactor _getSVGTextAndBg
2013-10-26 11:24:18 +02:00
kangax
9b841f9362
Refactor renderViaNative
2013-10-25 21:50:58 +02:00
kangax
9e6fc35ffe
Refactor fill setting into a separate method
2013-10-25 11:49:47 +02:00
kangax
ffe45dc702
Refactor stroke setting into a separate method
2013-10-25 11:34:47 +02:00
kangax
f6a6ea68b7
Avoid width=0 for text objects
2013-10-25 09:05:39 +02:00
kangax
476da71e92
Doc changes
2013-10-25 09:05:39 +02:00
kangax
eef047a5b3
Add check for skipTextAlign in fabric.Text
2013-10-05 12:50:29 +02:00
kangax
82d9a15fee
Fix left aligning in Node. Version 1.3.7
2013-09-30 18:37:45 +02:00
kangax
f93a0e4313
Fix text rendering offsets on Node by simplifying things
2013-09-30 16:15:00 +02:00
kangax
6cd767c479
Fix offsets of underline/line-through/overline text decoration and line sharpness
2013-09-30 13:38:12 +02:00
kangax
4b65f9f682
Fix removal of default values in fabric.Text#toObject
2013-09-30 13:38:12 +02:00
Kienz
be86429b32
Add reviver function to fabric.Canvas.toSVG.
...
Reviver function accepts one parameter (svg string representation of object instance) and should return svg string.
Add qunit test.
2013-09-29 09:22:44 +02: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
fa2f18a77a
Add more docs.
...
Examples, tutorial and demo links.
2013-09-28 12:31:32 +02:00
Kienz
815ca4ec70
Fixed fabric.Tectvertical position
2013-09-18 17:28:36 +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
40e27b7392
Document text accessors
2013-09-13 19:03:05 +02:00
Juriy Zaytsev
ed1c116793
Merge pull request #823 from Kienz/patch-1
...
[BACK_INCOMPAT] `fabric.Text.textShadow`was removed and `fabric.BaseBrush` shadow properties removed (new `fabric.BaseBrush.shadow`)
2013-09-03 12:27:13 -07:00
kangax
fc3bc45920
Fix text decoration offset for text with originY=top
2013-09-03 21:17: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
kangax
e1df87c64c
Some (non-breaking) text changes to allow for more granular line height
2013-09-01 00:10:12 +02:00