Skip to content

Commit

Permalink
Corrected mm/px ratio. Fixes #420
Browse files Browse the repository at this point in the history
  • Loading branch information
GreLI committed Sep 2, 2015
1 parent 614bc00 commit db78402
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/cleanupListOfValues.js
Expand Up @@ -18,7 +18,7 @@ var regNumericValues = /^([\-+]?\d*\.?\d+([eE][\-+]?\d+)?)(px|pt|pc|mm|cm|m|in|f
removeLeadingZero = require('../lib/svgo/tools').removeLeadingZero,
absoluteLengths = { // relative to px
cm: 96/2.54,
mm: 9600/2.54,
mm: 96/25.4,
in: 96,
pt: 4/3,
pc: 16
Expand Down
2 changes: 1 addition & 1 deletion plugins/cleanupNumericValues.js
Expand Up @@ -17,7 +17,7 @@ var regNumericValues = /^([\-+]?\d*\.?\d+([eE][\-+]?\d+)?)(px|pt|pc|mm|cm|m|in|f
removeLeadingZero = require('../lib/svgo/tools').removeLeadingZero,
absoluteLengths = { // relative to px
cm: 96/2.54,
mm: 9600/2.54,
mm: 96/25.4,
in: 96,
pt: 4/3,
pc: 16
Expand Down

0 comments on commit db78402

Please sign in to comment.