Commit graph

3485 commits

Author SHA1 Message Date
Andrea Bogazzi
e3e8984ec9 fixes trailing spaces 2016-03-26 13:00:37 +01:00
Andrea Bogazzi
0785bd9a32 check properly if there is style on the line 2016-03-26 12:47:20 +01:00
Andrea Bogazzi
55da566d37 Update textbox.class.js 2016-03-26 12:44:11 +01:00
Andrea Bogazzi
f5f51938f7 add check for this.styles[i] 2016-03-26 12:42:03 +01:00
Andrea Bogazzi
c1e3ad5b85 Merge pull request #2852 from asturur/textboxspaces
adding lineStarted logic to _wrapLine function
2016-03-26 11:52:34 +01:00
Andrea Bogazzi
2a1842af02 adding lineStarted logic to _wrapLine function
The error was considering line === '' as a line that just started. This messed up consecutive spaces.
Consecutive spaces create words with 0 lenght and they leave the line with no infix and no characters.
2016-03-26 11:41:49 +01:00
Andrea Bogazzi
c815f22d3e Merge pull request #2842 from asturur/bordersAddWithU
Do not draw control borders in normal group with active objects
2016-03-23 17:42:21 +01:00
Andrea Bogazzi
8410796872 drw controls and borders just if you are in active group ora active 2016-03-17 09:07:47 +01: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
a700376e82 improved docs 2016-03-11 11:09:12 +01:00
Andrea Bogazzi
fb69e9bc89 Do not call 2 times this.getSvgFilter() 2016-03-11 10:52:20 +01:00
Andrea Bogazzi
ab4721427e Merge pull request #2817 from asteriskman7/fix_offset_1x1_rect
Change location of rect in 1x1 case
2016-03-11 08:33:00 +01:00
Andrea Bogazzi
bb9aef9726 do not output useless empty style declaration 2016-03-11 08:28:20 +01:00
Andrea Bogazzi
cc9d826d4c add ability to skip shadow to style export
This is necessary for text now.
2016-03-11 06:16:42 +01:00
Andrea Bogazzi
a3fd9061ef Add shadow to outer group of text 2016-03-11 06:14:40 +01:00
Juriy Zaytsev
1324c73c2e Merge pull request #2806 from asturur/fix-retina-again
Fix retina scaling shadows and data url
2016-03-01 17:45:51 -05:00
Abruzzi
ecd5c15fe9 fix(lint): remove useless variable 'e' for lint 2016-03-01 20:45:27 +08:00
Abruzzi
e3e81195c9 fix(itext): fix bug that IME can not be inputted 2016-03-01 05:35:58 +08:00
Juriy Zaytsev
4e888fef0e Merge pull request #2808 from asturur/text-fixe
Change text shadow behaviour
2016-02-27 18:06:43 -08:00
asteriskman
47776c55fd Change location of rect in 1x1 case
As can be seen in this jsfiddle, https://jsfiddle.net/asteriskman/kk6v0tu4/ , the 1x1 rectangle was being placed incorrectly. It must be offset by -0.5 in the x and y direction to line up with other rects.
2016-02-26 22:51:56 -05:00
Juriy Zaytsev
4ed2b18575 Merge pull request #2809 from brianhernandez/non-developer-readme-contribution
Non developer readme contribution
2016-02-25 11:24:03 -08:00
Andrea Bogazzi
91bf1fbacf Update object.class.js 2016-02-25 08:10:38 +01:00
Brian Hernandez
328194551d Fix small typo
Fixed a small typo in the non-technical introduction paragraph.
2016-02-24 21:35:14 -05:00
Brian Hernandez
06ce6a4052 Merge pull request #1 from Brandn-H/patch-1
Fixed spacing changed even to also
2016-02-24 21:22:36 -05:00
Andrea Bogazzi
9c41f0923d Update itext.class.js 2016-02-25 02:59:04 +01:00
Brandon Hernandez
d5ad13fa6e Fixed spacing changed even to also 2016-02-24 20:52:07 -05:00
Andrea Bogazzi
2f19e25ef2 Update itext.class.js 2016-02-25 02:48:20 +01:00
Andrea Bogazzi
f15b7f5d3c Update text.class.js 2016-02-25 02:46:05 +01:00
Andrea Bogazzi
b4f99d96a9 Update canvas_dataurl_exporter.mixin.js 2016-02-25 00:52:51 +01:00
Andrea Bogazzi
bd345a39d5 Update object.class.js 2016-02-25 00:50:10 +01:00
Andrea Bogazzi
873abee422 fixes lint 2016-02-25 00:30:49 +01:00
Andrea Bogazzi
df1cffaade add retina scaling effect to dataUrl exporter
Add retina scaling as a normal dataurl multiplier.
Removed setWidth and setHeight in favor of setDimensions
Removed rescaling back of canvas because setDimension will clear the transform anyway.
2016-02-24 08:47:27 +01:00
Andrea Bogazzi
db068d59c9 enlarge shadow if retina scaling is active 2016-02-24 08:45:15 +01:00
Andrea Bogazzi
381f959f54 move retina logic check in a function 2016-02-24 08:44:21 +01:00
Andrea Bogazzi
213241a5fc Merge pull request #20 from kangax/master
update to master
2016-02-24 08:42:33 +01:00
Brian Hernandez
b661774a3d Add a non-technical intro to Fabric 2016-02-22 14:06:24 -05:00
Juriy Zaytsev
053cbc3466 Merge pull request #2790 from mochidusk/pr_styleDecl_refactor
Use internal _getStyleDeclaration method for style declarations.
2016-02-19 12:30:32 -05:00
Juriy Zaytsev
b2b19fc935 Add issue template 2016-02-18 13:58:45 -05:00
Juriy Zaytsev
3adaec2aae Merge pull request #2797 from asturur/svg-text-f
Add font faces to svg
2016-02-18 12:15:53 -05:00
Andrea Bogazzi
eb71b76094 Merge pull request #19 from asturur/asturur-patch-1
Asturur patch 1
2016-02-18 12:25:32 +01:00
Andrea Bogazzi
8ec69e19de Update itext.js 2016-02-18 12:19:40 +01:00
Andrea Bogazzi
c16b525d41 Update itext.js 2016-02-18 12:01:50 +01:00
Andrea Bogazzi
e8335054ee add some format to Itext svg export 2016-02-18 11:55:30 +01:00
Andrea Bogazzi
c04eb03acb Update itext.js 2016-02-18 11:48:01 +01:00
Andrea Bogazzi
ac92abc3fb Add font face markup for styles and all text classes 2016-02-18 11:10:24 +01:00
Juriy Zaytsev
2473589e96 Merge pull request #2793 from taqimustafa/master
Fixing guides in zoom
2016-02-16 13:26:10 -05:00
Taqi Mustafa
3bf8f46562 Fixing guides in zoom
We were not calculating the guides updated position for pan and zoom. It's fixed now.
2016-02-15 17:42:36 +05:00
Dusk Ho
38e7b5b98a Use internal _getStyleDeclaration method for style declarations. See #2780. 2016-02-13 04:20:07 +00:00
Juriy Zaytsev
62e28bc8e9 Merge pull request #2788 from negomi/master
Fix typo: Cario should be Cairo
2016-02-12 19:18:45 -05:00
Imogen
e0eb4bf395 Fix typo: Cario should be Cairo 2016-02-12 15:55:42 -08:00