Vasiliy Loginevskiy
ccd0541712
Add shortNames colors optimization.
2014-12-05 23:50:37 +03:00
Vasiliy Loginevskiy
4d83c31420
Optimize colors collections in advance.
2014-12-04 22:45:22 +03:00
Vasiliy Loginevskiy
d1ef377f17
Remove unnecessary element from array.
2014-12-03 04:51:47 +03:00
Vasiliy Loginevskiy
da5c339076
Improve cleanupEnableBackground plugin.
2014-11-13 08:41:53 +03:00
GreLI
84f105b76b
Disabled removeUselessStrokeAndFill due to problems with inheritance
2014-11-04 22:31:33 +03:00
GreLI
d9ad4183fa
Don't move attrs to child if it has id
2014-11-04 22:25:13 +03:00
GreLI
7c68e55c07
Don't move 'clip-path' to inner element if it has 'transform'. Fixes #254
2014-11-04 21:35:34 +03:00
GreLI
17d29e9138
Don't move transform attribute to elems if there is linked object to transform. Fixes #162
2014-11-04 21:01:03 +03:00
GreLI
592fdfe03f
Don't apply transformation to path with references to another objects which also transforms
...
Resolves #104 , fixes #143 and resolves #206 .
2014-11-04 17:36:22 +03:00
GreLI
bbeca0604a
Transformations now apply to paths with arcs
2014-11-04 17:34:31 +03:00
GreLI
ccce15312c
Applied ‘moveto’ command collapsing to starting ‘M‘ as well
2014-11-04 15:44:35 +03:00
GreLI
6eb271683b
Fixed misplacing due to incorrect collapsing of path ‘moveto’ commands, fixes #189
2014-11-03 01:28:07 +03:00
GreLI
f1535e25f5
Corrected stroke-width value update with unit identifier, fixes #181
2014-11-03 01:15:02 +03:00
GreLI
25d123134d
Added ‘index’ for linked path item and a test for path translation after ‘z’
2014-11-02 14:16:14 +03:00
GreLI
10146b5498
Fixed bug with translate not applied to path after ‘z’ command
2014-11-02 14:02:33 +03:00
GreLI
2b235f9fe2
Linked filtered out path segments to previous for next checks
2014-11-01 22:26:34 +03:00
Daniel Wabyick
06f084d8e7
added removeDesc plugin
2014-09-26 10:17:51 -07:00
GreLI
a02ccb88d6
Merge pull request #229 from GreLI/better-path-processing
...
Path data optimization improvements.
2014-08-02 16:05:40 +04:00
GreLI
68bfa2d74f
Merge pull request #211 from roadhump/issue_additionalnamespaces
...
additionalNamespaces param for removeEditorsNSData plugin
2014-08-02 15:50:09 +04:00
GreLI
06028a69de
Path data optimization improvements.
...
Writes absolute coordinates if it's shorter.
Relative coordinates rounding now takes in account accumulating error. Points will be closer to original values.
Rounding is smarter like 2.49 to 2.5.
2014-07-31 20:13:57 +04:00
Aliaksei Shytkin
511828ea76
additionalNamespaces param for removeEditorsNSData plugin
2014-05-06 17:26:03 +03:00
Daniel Mazurkiewicz
72a7186fcc
Update cleanupIDs.js
...
added "prefix" parameter to solve problem of combining multiple svg into one svg or html file
2014-04-06 19:05:34 +02:00
Benny Schudel
0a3ee55406
Added removeDimensions to its own branch
2014-03-27 14:59:29 +01:00
Benny Schudel
8a693e7f01
Removed removeDimensions plugin
2014-03-27 14:50:57 +01:00
Benny Schudel
de073e9c9d
Removed removeDimensions plugin > to be added in its own branch
2014-03-27 14:49:01 +01:00
Benny Schudel
2f33f9eab1
Added removeAttrsPlugin and extended test to have optional params passed along
2014-03-27 14:42:14 +01:00
Benny Schudel
72fdf9026a
Added removeDimensions plugin
2014-03-26 16:48:50 +01:00
Dave Houlbrooke
36caca2fbe
Add Sketch namespace to _collections for removeEditorsNSData plug
2014-01-31 05:11:23 +00:00
Kir Belevich
da04c47260
disable removeViewBox by default ( fix #139 )
2014-01-14 16:17:23 +02:00
Kalashnikov Igor
7053bea696
fixing deep inheritance analyzis + remove useless overrides
2014-01-11 21:13:30 +04:00
Kalashnikov Igor
da52d7f311
remove inherited attrs with same value
2014-01-08 23:09:02 +04:00
Kir Belevich
d64bc542bb
Merge pull request #165 from silentroach/bugfix-remove-inherited-defaults
...
removeUnknownsAndDefaults: do not remove overriden attributes with default values
2014-01-08 11:02:53 -08:00
Kalashnikov Igor
97678a7304
do not remove overriden attributes with default values #161
2014-01-08 22:50:09 +04:00
Kir Belevich
2428fcd7fc
Merge pull request #164 from silentroach/feature-remove-title
...
new plugin: removeTitle (disabled by default, close #159 )
2014-01-08 09:35:25 -08:00
Kalashnikov Igor
d8cf17d721
+ removeTitle plugin, disabled by default #159
2014-01-08 21:29:41 +04:00
Kalashnikov Igor
4c4ced858d
skip data concatenation for z instruction in collapseRepeated
2014-01-02 23:04:35 +04:00
Lev Solntsev
389368c2c9
new plugin converting some basic shapes to path
2013-11-29 14:17:58 +04:00
Nathan Muir
d0a4e91e95
moveGroupAttrsToElems now applies transforms to sub-groups & text.
2013-11-18 22:39:50 +02:00
Nathan Muir
633c981304
Fix issue with convertPathData when sequential h or l movements are in the opposite direction.
2013-11-18 22:37:49 +02:00
Nathan Muir
cd0793a9f2
Updated applyTransforms to optionally apply path transforms & convert the stroke-width when a line is scaled uniformly (ie, no skew).
2013-11-18 22:37:06 +02:00
Nathan Muir
ad375c8d9c
Updated mergePaths to join paths with the same attributes & values.
2013-11-18 22:34:44 +02:00
Nathan Muir
600f37cb2d
Possible solution to issue #132 with test cases.
...
collapse group would merge transforms without respect for clipPath.
2013-11-18 22:33:29 +02:00
deepsweet
ce14bee851
plugins/cleanupAttrs: replace newline with space when needed ( fix #119 )
2013-06-24 18:47:17 +03:00
deepsweet
4ae9cc1c33
do not remove result attribute from filter primitives ( fix #122 )
2013-06-24 18:35:29 +03:00
deepsweet
a47ed63361
plugins/removeNonInheritableGroupAttrs: more attrs groups to exclude ( fix #118 fix #116 )
2013-05-30 12:13:21 +03:00
deepsweet
82f1b0571e
plugins/transformsWithOnePath: fix possible c+t or q+s bug
2013-05-07 17:05:44 +03:00
deepsweet
e08c606d3e
plugins/transformsWithOnePath: fix curves bounding box calculation
2013-05-07 13:44:09 +03:00
deepsweet
04dccd16ca
plugins/mergePaths: add space delimiter between z and m
2013-05-06 19:09:17 +03:00
deepsweet
96bff9b7c7
plugins/convertPathData: fix m->M bug in some cases
2013-05-06 19:01:30 +03:00
deepsweet
d391a38b7c
plugins/transformsWithOnePath: fix last point calculation for C/S/Q/T
2013-05-06 15:07:54 +03:00