1
0
mirror of https://github.com/svg/svgo.git synced 2025-08-09 02:22:08 +03:00
Commit Graph

530 Commits

Author SHA1 Message Date
deepsweet
ce8acffe68 plugins/transformsWithOnePat: ability to set new width or height independently with auto rescaling 2013-05-05 15:26:35 +03:00
deepsweet
a50b192703 plugins/convertPathData: convert very first m to M, fix applyTransforms with translate() (fix #112) 2013-05-05 15:12:44 +03:00
deepsweet
c4b6b3a7f1 plugins/transformsWithOnePath: fix real width/height rounding; fix scale transform origin; reorder transforms 2013-05-05 15:11:14 +03:00
deepsweet
b9bbe7a61b plugins/sortAttrs: disable by default 2013-05-03 20:58:35 +03:00
deepsweet
446796e531 Impossible to set output presision to 0 (no fractional part) (fix #110) 2013-05-03 20:55:21 +03:00
deepsweet
6d16374ed2 plugins/transformsWithOnePath: buggy hcrop (fix #111) 2013-05-03 20:35:54 +03:00
Nikolay S. Frantsev
cd58880477 new plugins/sortAttrs 2013-04-23 18:44:34 +03:00
deepsweet
0707c21dbb plugins/transformsWithOnePath: resize SVG and automatically rescale inner Path 2013-04-15 15:19:18 +03:00
deepsweet
c0f8cf0f76 plugins/transformsWithOnePath: new plugin 2013-04-11 21:21:06 +03:00
deepsweet
9124bf809e plugins/mergePaths: new plugin 2013-04-11 21:15:41 +03:00
deepsweet
93fc2616d1 plugins/removeUselessStrokeAndFill: fix a typo 2013-04-11 20:28:49 +03:00
deepsweet
fc36d63d99 plugins/_transforms: allow spaces at the beginning of transform 2013-04-11 17:44:26 +03:00
deepsweet
578cf60f1d node.extend -> whet.extend 2013-04-10 14:48:07 +03:00
deepsweet
2816424ed7 global refactoring dump 2013-04-09 22:06:27 +03:00
deepsweet
7f5512ba3a new plugins/cropAndCenterAlongPath 2013-04-05 18:00:19 +03:00
deepsweet
f47220cff6 plugins/removeNonInheritableGroupAttrs: new plugin to fix #101 2013-02-22 17:07:41 +02:00
deepsweet
f50b4f8ca8 plugins/convertTransform: bug with trailing spaces in transform value string (fix #103) 2013-02-22 16:43:18 +02:00
deepsweet
f944a2af57 plugins/removeRasterImages: add gif format 2013-02-13 17:24:25 +02:00
deepsweet
7ddc8ebbc0 plugins/removeRasterImages: remove raster images references in <image> (disabled by default) (close #98) 2013-02-13 17:22:15 +02:00
deepsweet
3faa6d1de5 plugins/convertTransforms: wrong translate() shorthand (fix #94) 2013-02-06 17:45:04 +02:00
deepsweet
6592d9bdb4 SVG file generated by http://fontcustom.com not properly compressed (fix #90) 2013-01-18 15:47:30 +02:00
deepsweet
c04888df4d plugins/cleanupNumericValues: wrong floating-point numbers regexp (fix #92) 2013-01-18 15:36:26 +02:00
deepsweet
5e5cb1aecc plugins/removeViewBox doesn't catch floating-point numbers (fix #88) 2013-01-18 15:35:20 +02:00
deepsweet
d120b1f0b7 plugins/cleanupEnableBackground doesn't catch floating-point numbers (fix #89) 2013-01-18 15:34:19 +02:00
deepsweet
30a3397a27 move or just leave transform attr from Group to the inner Path Elems (close #86) 2013-01-18 14:16:27 +02:00
deepsweet
ea2c61ae87 minor JSHint warning fix 2012-12-23 22:18:29 +02:00
deepsweet
2cc829663d plugins/convertTransform: translate(10, 0) eq translate(10), but not translate(10, 10) eq translate(10) (fix #83) 2012-12-23 14:55:36 +02:00
deepsweet
c29a3f9259 plugins/convertPathData: apply transforms to Path pata (close #33) 2012-12-23 14:44:52 +02:00
deepsweet
ea7173b0df plugins/convertPathData: -1.816-9.278.682-13.604 parsing error (fix #85) 2012-12-21 16:59:48 +02:00
deepsweet
40ab77680a plugins/cleanupIDs: renamed from removeUnusedIDs; minify used IDs (fix #7) 2012-12-17 22:32:00 +02:00
deepsweet
45952089d3 restore HTML entities back (fix #80 + #81) 2012-12-17 22:31:54 +02:00
deepsweet
db66e897f8 plugins/removeDoctype: do not remove if custom XML entities presents (fix #77) 2012-12-17 22:31:06 +02:00
deepsweet
28ff1f3154 plugins/removeUnusedID: wrong variable declaration 2012-12-11 18:33:10 +02:00
deepsweet
c99c4b284c new plugin: remove unused IDs (close #76) 2012-12-11 17:27:05 +02:00
deepsweet
24e45f5376 plugins/cleanupAttrs: use isElem() API 2012-12-11 17:27:05 +02:00
deepsweet
db9188562f new plugin: remove useless 'stroke' and 'fill' attrs (close #75) 2012-12-11 17:26:47 +02:00
deepsweet
d75c830c84 plugins/convertPathData: wrong M interpretation in some cases (fix #73) 2012-12-11 17:25:01 +02:00
deepsweet
a0e798d328 plugins/convertPathData: incorrect interpretation of z + m (fix #69) 2012-12-08 13:18:11 +02:00
deepsweet
5610f719f2 plugins/convertTransform: do more accurate floating numbers rounding in matrixToTransform() (fix #68) 2012-12-07 18:15:16 +02:00
deepsweet
d731362cc7 plugins/convertPathData: collapse repeated instructions only after curveSmoothShorthands (fix #64) 2012-12-07 13:51:01 +02:00
deepsweet
4e50f34c49 plugins/cleanupSVGElem: delete as useless artefact 2012-12-07 12:54:15 +02:00
deepsweet
bab164e4ca E-notated numbers in paths not recognised (fix #63) 2012-12-06 22:20:25 +02:00
deepsweet
d155db4c02 plugins/_collections: more defaults 2012-12-05 14:56:43 +02:00
deepsweet
95d93988fd plugins/_collections: more defaults 2012-12-01 18:28:59 +02:00
deepsweet
1b6b3b3026 plugins/removeUnknownsAndDefaults: refactoring and picking up the complete elems+attrs collection (close #59) 2012-11-30 17:34:02 +02:00
deepsweet
252fe5f06a plugins/moveElemsAttrsToGroup: additional check for transform attr 2012-11-30 17:32:44 +02:00
deepsweet
f804f13471 plugins/convertTransform: error in matrices multiplication (fix #58) 2012-11-29 21:55:56 +02:00
deepsweet
e3b05d9ae1 plugins/convertPathData: drastic speed improvement with the huge Path data 2012-11-29 19:40:58 +02:00
deepsweet
140daaeaef merge plugins/roundNumericValues and plugins/removeDefaultPx into one plugins/cleanupNumericValues 2012-11-29 18:42:41 +02:00
deepsweet
67daff27b1 new plugin: decrease accuracy of floating-point numbers (close #8) 2012-11-29 18:24:06 +02:00