Chris Buergi
fb573607e2
Merge branch 'master' into scaling-strokewidth-fix
2014-09-08 10:45:42 +02:00
Chris Buergi
0739f4cad8
Only use strokeWidth in object scaling when stroke is set.
...
Also only use half of the strokeWidth, this matters especially when the strokeWidth is large compared to the object size.
2014-09-08 10:43:55 +02:00
Juriy Zaytsev
791c74a82e
Merge pull request #1631 from asturur/Gradient-Fix-Part-2
...
Fix gradient rendering
2014-09-04 01:57:37 +04:00
Juriy Zaytsev
74bc327011
Merge pull request #1635 from asturur/Polygons-and-Polylines
...
Fix polygons and polylines rendering
2014-09-04 01:55:29 +04:00
Juriy Zaytsev
f250b259ec
Merge pull request #1616 from asturur/Itext-firefox-squares-and-new-keys
...
Add support for control keys
2014-09-04 01:18:11 +04:00
Andrea Bogazzi
917d83b139
Update polyline.class.js
2014-09-03 22:49:47 +02:00
Andrea Bogazzi
6afc4dbc3a
Update polygon.class.js
2014-09-03 22:49:04 +02:00
Andrea Bogazzi
2dd8884129
Update gradient.class.js
...
why it didn't tell me all togheter is a mistery.
Code style fix part 2.
2014-09-02 22:51:44 +02:00
Andrea Bogazzi
f854db4e4c
Update gradient.class.js
...
code styles error fixed.
2014-09-02 22:47:49 +02:00
Andrea Bogazzi
55f9a5947b
Update rect.class.js
2014-09-02 22:40:49 +02:00
Andrea Bogazzi
d87af17aa4
Update gradient.class.js
2014-09-02 22:40:00 +02:00
Juriy Zaytsev
cefc838e90
Merge pull request #1628 from asturur/text-export-fpr-groups
...
Update text.class.js
2014-08-30 14:57:13 +04:00
kangax
da3184aaae
Fix style error
2014-08-30 13:22:19 +04:00
kangax
a3d40878d6
Update JSCS to 1.6, fix errors, hook up travis
2014-08-30 13:18:43 +04:00
Juriy Zaytsev
392d3e9a7e
Merge pull request #1624 from asturur/missing-width-or-height
...
Update parser.js
2014-08-29 13:15:05 +04:00
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
Chris Buergi
7db0fe0aa2
Allow to opt out from the viewport transformation of the SVG output.
2014-08-28 13:43:36 +02:00
Andrea Bogazzi
b43492554a
Update parser.js
...
Added comment for future reference
2014-08-28 00:04:07 +02:00
Andrea Bogazzi
4c4ba5bfe0
Update parser.js
...
Added comment for future reference
2014-08-27 23:09:31 +02:00
Andrea Bogazzi
cd7bea6183
Update parser.js
...
Better than getting 0px width and height.
Specs say that when they are missing we should consider 100%, in our case 100% will be 100px because we don't have anything to compare the SVG to before adding the SVG into a canvas.
Otherwise we could take canvas widht and height.
2014-08-27 14:17:33 +02:00
Andrea Bogazzi
18b17b4170
Update itext_key_behavior.mixin.js
...
Sorry, i missed that.
2014-08-25 15:14:19 +02:00
Andrea Bogazzi
f83636acb1
Update itext_key_behavior.mixin.js
...
Better behaviour of selection with keyboard.
Now you can cross from select direction LEFT to RIGHT and back.
2014-08-25 15:10:12 +02:00
Andrea Bogazzi
41b53f53e4
Update itext_key_behavior.mixin.js
2014-08-25 12:21:59 +02:00
Andrea Bogazzi
bce8d4f847
Update itext_key_behavior.mixin.js
2014-08-25 12:02:16 +02:00
Ulrich Sossou
dc7266bc1d
Fix coding style
2014-08-24 18:25:58 +01:00
Ulrich Sossou
2541b7b69b
Properly calculate width of whitespace characters when text is justified
2014-08-24 15:41:51 +01:00
Ulrich Sossou
f02622ea26
Merge branch 'master' into hotfix/printable-characters-not-working
...
Conflicts:
src/mixins/itext_key_behavior.mixin.js
2014-08-23 18:58:29 +01:00
Juriy Zaytsev
060a4f6b12
Merge pull request #1604 from sorich87/hotfix/top-cursor-boundary-calculation
...
Use _getTopOffset to calculate top cursor boundary
2014-08-23 19:53:01 +02:00
Juriy Zaytsev
29c0448235
Merge pull request #1573 from brexis/patch-1
...
Update itext_key_behavior.mixin.js
2014-08-23 18:46:11 +02:00
Ulrich Sossou
9d8cd6ebb2
Accept all printable characters
2014-08-20 14:09:47 +01:00
Marc Galang
7111e6f2cc
Merge remote-tracking branch 'upstream/master'
2014-08-20 15:58:28 +03:00
Ulrich Sossou
a9933a5450
Use _getTopOffset to calculate top cursor boundary
...
Left cursor boundary is calculated with _getLeftOffset,
top cursor boundary should also be calculated with the corresponding offset method
2014-08-20 13:51:17 +01:00
Juriy Zaytsev
ac7ceedd83
Merge pull request #1590 from asturur/Clean-fix-for-ar
...
Update arc.js
2014-08-20 14:41:27 +02:00
Andrea Bogazzi
29b6ae03e5
Update gradient.class.js
2014-08-19 15:07:33 +02:00
Andrea Bogazzi
92604f1ee4
Update gradient.class.js
...
Fixed some errore introduced with commit.
2014-08-19 13:59:26 +02:00
Andrea Bogazzi
cf5062b072
Update gradient.class.js
2014-08-16 17:17:00 +02:00
Andrea Bogazzi
2fe200e178
Update parser.js
...
Forgot one variable.
2014-08-16 16:26:08 +02:00
Andrea Bogazzi
98b4bdccaf
Update object.class.js
2014-08-16 16:23:02 +02:00
Andrea Bogazzi
74a9ac9d48
Update parser.js
...
Changed variable names, For loop in While loop and typing error.
2014-08-16 16:18:48 +02:00
Andrea Bogazzi
dc4d4a4205
Update gradient.class.js
...
JSDOC and Variable names
2014-08-16 16:11:43 +02:00
Andrea Bogazzi
1e49598693
Update elements_parser.js
...
Fixing spaces
2014-08-16 16:05:16 +02:00
Andrea Bogazzi
f955969e76
Update object.class.js
...
added gradienttransfor rendering
2014-08-16 08:15:47 +02:00
Andrea Bogazzi
78db91225f
Update parser.js
...
Changed parsegradient to consider href element
2014-08-16 08:15:07 +02:00
Andrea Bogazzi
011674707a
Update gradient.class.js
2014-08-16 08:13:20 +02:00
Andrea Bogazzi
77911424ce
Update elements_parser.js
...
Changed Resolvegradient function for fill and stroke
2014-08-16 08:11:50 +02:00
Juriy Zaytsev
3405d0e2ac
Merge pull request #1584 from asturur/Lock-Scale-Flipping
...
Lock scale flipping
2014-08-13 19:44:36 +02:00
Juriy Zaytsev
2cc901f2f7
Merge pull request #1595 from asturur/Load-Gradient-before-reviver
...
Load gradient before reviver
2014-08-13 19:14:48 +02:00
Andrea Bogazzi
70b879b8b9
Update elements_parser.js
...
Added mono-object resolveGradient function. to be called befor reviver function.
2014-08-13 11:46:39 +02:00
Andrea Bogazzi
e157437476
Update parser.js
...
Delete function from parser. moved in element parser.
2014-08-13 11:40:20 +02:00
Andrea Bogazzi
6cc42ca43c
Update object.class.js
2014-08-12 23:33:08 +02:00