e94cb994dd
Remove incorrect <path> elems, not just empty
2015-03-22 21:20:20 +03:00
15e303bbf0
Convert colors now takes fractional percentages and minor improvements.
...
Fixes #175 and resolves #178 .
2015-03-22 18:45:46 +03:00
5f892ee7dd
Don't remove empty elements which could be animated.
...
Resolves #213 .
2015-03-22 18:12:09 +03:00
86ab59ceb5
Take in account optional ‘rotate()’ parameters.
...
Fixes #243 , fixes #294 .
2015-03-22 18:12:09 +03:00
9b8250d6c4
Remove standard descriptions. Resolves #302
2015-03-22 18:12:09 +03:00
4d966b7ceb
Don't collapse groups which have animations. Fixes #214
2015-03-22 18:12:09 +03:00
e1060df7dc
Check path intersection while merging.
...
Fixes #253 , resolves #260 , fixes #298 .
2015-03-22 18:06:40 +03:00
e220b6cad0
Path data processing improvements.
...
Improved path data saving.
Collapse repeated now works at writing path data and doesn't affect pathJS to make further processing easier.
Resolves #204 .
2015-03-17 22:03:17 +03:00
62cfb364c4
Slightly improved convertShapeToPath
2015-03-15 13:17:06 +03:00
20af96a6b5
Corrected path merging
2015-02-26 01:34:20 +03:00
eecfabd5a9
Code styled and logic improvement in convertShapeToPath
2015-02-23 23:06:18 +03:00
d3e4f63ae5
removeUselessStrokeAndFill is back. Checks for inherited attrs and references.
2015-02-23 23:06:18 +03:00
02dcf78d74
Convert abolute lengths to pixel values
2015-02-23 23:06:09 +03:00
1e81329982
Non greedy comments regexp
2015-02-23 17:52:53 +03:00
73f7f3c183
Improved code for parsing CSS in attributes values
2015-02-23 17:29:23 +03:00
d668a10d14
Prevent removing of meaningful whitespace in text tags. Fixes #299
2015-02-15 22:39:01 +03:00
bd82898b05
Don't blow up in case of <foregnObject>. Fixes #279
2015-02-15 18:45:16 +03:00
de1629faf9
Don't remove data-* attributes. Resolves #301
2015-02-15 15:11:42 +03:00
5a51022b25
Don't pass 'clip-path' attr to shape elements at all. Fixes #231
2015-02-08 23:39:35 +03:00
942d2f74fa
Better css parsing in style attr. Fixes #227
2015-02-08 22:33:24 +03:00
ec7d4cc856
Updated test according to changes in pretty printing
2015-02-01 23:41:09 +03:00
66ca37c366
Typo fix and updated tests
2015-01-27 14:12:29 +03:00
bada6b2a8c
Transformations now accounting inherited stroke attributes. Finally fixes #162
2015-01-25 23:27:30 +03:00
8222f41cd4
add tests of cleanupListOfValues
2014-12-07 21:48:10 +09:00
ccd0541712
Add shortNames colors optimization.
2014-12-05 23:50:37 +03:00
da5c339076
Improve cleanupEnableBackground plugin.
2014-11-13 08:41:53 +03:00
d9ad4183fa
Don't move attrs to child if it has id
2014-11-04 22:25:13 +03:00
7c68e55c07
Don't move 'clip-path' to inner element if it has 'transform'. Fixes #254
2014-11-04 21:35:34 +03:00
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
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
bbeca0604a
Transformations now apply to paths with arcs
2014-11-04 17:34:31 +03:00
6eb271683b
Fixed misplacing due to incorrect collapsing of path ‘moveto’ commands, fixes #189
2014-11-03 01:28:07 +03:00
25d123134d
Added ‘index’ for linked path item and a test for path translation after ‘z’
2014-11-02 14:16:14 +03:00
06f084d8e7
added removeDesc plugin
2014-09-26 10:17:51 -07:00
842f0d1b74
expose jsAPI as factory method
2014-08-28 20:51:11 +06:00
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
0a3ee55406
Added removeDimensions to its own branch
2014-03-27 14:59:29 +01:00
8a693e7f01
Removed removeDimensions plugin
2014-03-27 14:50:57 +01:00
de073e9c9d
Removed removeDimensions plugin > to be added in its own branch
2014-03-27 14:49:01 +01:00
2f33f9eab1
Added removeAttrsPlugin and extended test to have optional params passed along
2014-03-27 14:42:14 +01:00
72fdf9026a
Added removeDimensions plugin
2014-03-26 16:48:50 +01:00
7053bea696
fixing deep inheritance analyzis + remove useless overrides
2014-01-11 21:13:30 +04:00
da52d7f311
remove inherited attrs with same value
2014-01-08 23:09:02 +04:00
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
97678a7304
do not remove overriden attributes with default values #161
2014-01-08 22:50:09 +04:00
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
d8cf17d721
+ removeTitle plugin, disabled by default #159
2014-01-08 21:29:41 +04:00
4c4ced858d
skip data concatenation for z instruction in collapseRepeated
2014-01-02 23:04:35 +04:00
389368c2c9
new plugin converting some basic shapes to path
2013-11-29 14:17:58 +04:00
d0a4e91e95
moveGroupAttrsToElems now applies transforms to sub-groups & text.
2013-11-18 22:39:50 +02:00